Send poll
POST
/waInstance{{idInstance}}/sendPoll/{{apiTokenInstance}}Documentation SendPoll
Request
Body Params application/json
chatId
string
required
message
string
required
options
array [object {1}]
required
optionName
string
required
multipleAnswers
boolean
required
Example
{
"chatId": "11001234567@c.us",
"message": "Please choose the color:",
"options": [
{
"optionName": "green"
},
{
"optionName": "red"
},
{
"optionName": "blue"
}
],
"multipleAnswers": false
}
Request samples
Responses
sendPoll(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
idMessage
string
required
ExamplesendPoll
{
"idMessage": "3EB0160E742127137282"
}
Last modified: 18 days ago