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

Get poll results

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

Path parameters

chatIdRequiredstring

Unique identifier of the chat, prefixed with chat_. Returned by the List chats endpoint.

pollIdRequiredstring

Unique identifier of the poll, prefixed with msg_ (a poll shares the id of its underlying message).

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

dataoptionalPollResults
poll_idoptionalstring
chat_idoptionalstring
titleoptionalstring
optionsoptionalobject[]

Array of object

textoptionalstring
votesoptionalinteger
total_votesoptionalinteger

Response codes

200Poll results
401Your API key is missing or invalid. Pass it as a bearer token.
404No poll was found with the provided `chatId`.

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/v4/chats/chat_a1b2c3d4/polls/poll_a1b2c3d4 \  -H "Authorization: Bearer bl_live_..."
Response objectexample
{  "data": {    "poll_id": "poll_a1b2c3d4",    "chat_id": "chat_a1b2c3d4",    "title": "Example title",    "options": [      {        "text": "Hello from Blooio!",        "votes": 0      }    ],    "total_votes": 3  }}