Send a poll message with multiple choice options
curl --request POST \
--url https://api.example.com/message/sendPoll/:instanceName \
--header 'Content-Type: application/json' \
--data '
{
"number": "<string>",
"name": "<string>",
"selectableCount": 123,
"values": [
{}
],
"delay": 123
}
'{
"key": {
"remoteJid": "<string>",
"fromMe": true,
"id": "<string>"
},
"message": {}
}Documentation Index
Fetch the complete documentation index at: https://mintlify.com/EvolutionAPI/evolution-api/llms.txt
Use this file to discover all available pages before exploring further.
curl -X POST https://your-api.com/message/sendPoll/my-instance \
-H "apikey: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"number": "5511999999999",
"name": "What is your favorite color?",
"selectableCount": 1,
"values": [
"Red",
"Blue",
"Green",
"Yellow"
]
}'
selectableCount to 1 for single-choice pollsselectableCount to a number greater than 1 for multiple-choice pollscurl --request POST \
--url https://api.example.com/message/sendPoll/:instanceName \
--header 'Content-Type: application/json' \
--data '
{
"number": "<string>",
"name": "<string>",
"selectableCount": 123,
"values": [
{}
],
"delay": 123
}
'{
"key": {
"remoteJid": "<string>",
"fromMe": true,
"id": "<string>"
},
"message": {}
}