Skip to main content
POST
/
get-user-livestream-votes
Get user votes on livestreams
curl --request POST \
  --url https://yppncslmsswqydhhgygz.supabase.co/functions/v1/get-user-livestream-votes \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "livestream_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
  "success": true,
  "vote_type": "upvote"
}

Authorizations

Authorization
string
header
required

JWT token or API key

Body

application/json
livestream_id
string<uuid>
required

Response

Successful response

success
boolean
required
vote_type
enum<string> | null
required
Available options:
upvote,
downvote