Polls
Send a poll
Send a native iMessage poll to a chat. The poll appears as an interactive ballot that recipients can vote on.
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.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://backend.blooio.com/v2/api/chats/%2B15551234567/polls" \ -H "Content-Type: application/json" \ -d '{ "options": [ "string", "string" ] }'{
"poll_id": "string",
"chat_id": "string",
"poll": {
"title": "string",
"options": [
"string"
]
},
"sent_at": 0
}{
"error": "string",
"status": 0
}{
"error": "string",
"status": 0
}{
"error": "string",
"status": 0
}{
"error": "string",
"status": 0
}