curl --location --request POST 'https://api.yourapp.com/v1/public/feedback-votes.info' \ --header 'Authorization: Bearer SUBSCRIBER_JWT_TOKEN' \ --header 'Content-Type: application/json' \ --data-raw '{ "feedbackId": "feedback-uuid" }'
{ "data": { "count": 42, "feedbackId": "feedback-uuid", "hasVoted": true, "voteId": "vote-uuid" } }
Get vote count and check if current user has voted on a feedback item.
Authorization: Bearer YOUR_API_KEY
Authorization: Bearer SUBSCRIBER_JWT_TOKEN
Show properties
hasVoted
voteId
Was this page helpful?