Sending · POST
sendPoll
Send a poll with 2 to 12 options. Votes arrive as notifications.
Endpoint
POST https://flowapi.pro/waInstance{idInstance}/sendPoll/{apiTokenInstance}Request body
{
"chatId": "972501234567@c.us",
"message": "Pick a time",
"options": [
{
"optionName": "Morning"
},
{
"optionName": "Evening"
}
],
"multipleAnswers": false
}Example
curl -X POST "https://flowapi.pro/waInstance{idInstance}/sendPoll/{apiTokenInstance}" \
-H "Content-Type: application/json" \
-d '{"chatId":"972501234567@c.us","message":"Pick a time","options":[{"optionName":"Morning"},{"optionName":"Evening"}],"multipleAnswers":false}'Response
{
"idMessage": "3EB0C1A7F2D4E8B91C"
}More sending methods
Try it on your own number
7 days free, no credit card. Then $10 per number per month.