BetaThe V4 API is in beta — endpoints and functionality may change.
Pollsv2

Get poll results

GET/chats/{chatId}/polls/{pollId}

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.

Path parameters

chatIdRequiredstring

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.

pollIdRequiredstring

The poll ID

Headers

AuthorizationRequiredstring

Your API key, sent as a bearer token: Authorization: Bearer <api_key>. Editing this stays in sync with the API key box on the right.

Bearer

Returns

poll_idoptionalstring
chat_idoptionalstring
titleoptionalstring
optionsoptionalobject[]

Array of object

textoptionalstring
votesoptionalinteger
total_votesoptionalinteger

Response codes

200Poll results
400Invalid request parameters
401Authentication required or invalid
404Resource not found

Sends a live request with your values and shows the real response below. Your key is stored only in this browser.

Request
curl -X GET https://api.blooio.com/v2/api/chats/chat_a1b2c3d4/polls/poll_a1b2c3d4 \  -H "Authorization: Bearer bl_live_..."
Response objectexample
{  "poll_id": "poll_a1b2c3d4",  "chat_id": "chat_a1b2c3d4",  "title": "Example title",  "options": [    {      "text": "Hello from Blooio!",      "votes": 0    }  ],  "total_votes": 3}