Skip to main content
POST
/
instances
/
{id}
/
chat
/
poll
/
vote
Vote on poll
curl --request POST \
  --url https://api.vzaps.com/instances/{id}/chat/poll/vote \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "phone": "5511999999999",
  "message_id": "3EB020510113BAA6561C",
  "vote": [
    "Morning",
    "Afternoon"
  ]
}
'
{
  "code": 200,
  "success": true,
  "data": {
    "details": "Reaction registered",
    "timestamp": "2026-04-15T12:00:00Z",
    "id": "3EB0123456789ABCDEF"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Identificador publico da instancia no formato gerado pela plataforma: prefixo VZ seguido de caracteres alfanumericos.

Example:

"VZ9K2M4N8P1Q3R5S7T0WABCD01EF"

Body

application/json
phone
string
required
message_id
string
required

Poll message ID. Use me: prefix for polls sent by the instance.

vote

Exact name of one option or array of options (multiple choice). Ignored when selected_options is sent.

selected_options
string[]

Exact option names (multiple choice). Takes precedence over vote.

poll_sender
string

Poll author (phone or JID). Required in groups only when another participant created the poll; omit if this instance sent the poll.

from_me
boolean

Indicates the poll was sent by the instance (alternative to the me: prefix on message_id).

Response

200 - application/json

Vote sent

code
integer
required
success
boolean
required
data
object