Docs
Documentation
What's New
Help
Your Dashboard
Your Reviews
Analytics
Edit Account
Sent Reviews
Your Reports
Import reviews
Your Products
Your Referrals
Leaderboard
Vouchley API
Dynamic Widgets
Verify For Others
The Vouchley API allows you to fetch information about users and reviews from your own app/website.
Just so you know!
You need an API key in order to use the Vouchley API!
You can request your API key here.
Fetch a review
Fetch a review by its ID.
Fetch a user
Fetch a user by their ID.
fetch('https://www.vouchley.com/api/v1/review?id=ITEM_ID', { method: 'GET', headers: { 'Authorization': 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json', }, }) .then(response => response.json()) .then(data => console.log(data)) .catch(error => console.error('Fetch error:', error));
axios.get('https://www.vouchley.com/api/v1/review?id=ITEM_ID', { headers: { 'Authorization': 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json', }, }) .then(response => console.log(response.data)) .catch(error => console.error('Axios error:', error));
$.ajax({ url: 'https://www.vouchley.com/api/v1/review?id=ITEM_ID', method: 'GET', headers: { 'Authorization': 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json', }, success: function(data) { console.log(data); }, error: function(error) { console.error('jQuery AJAX error:', error); } });