cURL
curl --request POST \ --url https://api.gurubase.io/api/v1/{guru_type}/record_vote/ \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "content_slug": "<string>", "binge_id": "<string>", "vote_type": "<string>", "feedback": "<string>" }'
{ "vote": "upvote", "feedback": null }
Record a vote (upvote or downvote) on a question
binge_id