Request
Body Params application/json
{
"voteForOptionIndex": "number",
"debateReaction": "support"
}
Request samples
curl --location --request POST 'https://api.sqabl.com/v1/post//participate' \
--header 'Authorization: Bearer some-random-token' \
--header 'Content-Type: application/json' \
--data-raw '{
"voteForOptionIndex": "number",
"debateReaction": "support"
}'
Responses
application/json {
"data": {
"post": {
"id": "string",
"type": "poll",
"options": [
{
"text": "Some option text",
"totalVoters": 2
},
{
"text": "Some option text",
"totalVoters": 1
}
],
"totalParticipants": 3,
"totalOpposers": 0,
"totalSupporters": 0,
"viewer": {
"...v2...post...viewer": "...props"
}
}
}
}
Modified at 2025-07-02 11:38:17