Polls
Get poll results
Retrieve a poll's definition and aggregated vote counts. The pollId is the poll_id returned in the poll.received or poll.created webhook event.
Authorization
BearerAuth AuthorizationBearer <token>
API key authentication. Use your API key as the bearer token.
In: header
Path Parameters
chatId*string
Chat identifier. Can be: (1) phone number in E.164 format (e.g., +15551234567), (2) email address, (3) group ID (grp_xxxx), or (4) comma-separated list of phone numbers/emails for multi-recipient group chats (e.g., +15551234567,+15559876543). All values should be URL-encoded.
pollId*string
The poll ID
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://backend.blooio.com/v2/api/chats/%2B15551234567/polls/string"{
"poll_id": "string",
"chat_id": "string",
"title": "string",
"options": [
{
"text": "string",
"votes": 0
}
],
"total_votes": 0
}{
"error": "string",
"status": 0
}{
"error": "string",
"status": 0
}{
"error": "string",
"status": 0
}