Send Pool
POST {{APIV2}}/api/v2/evolution/message/sendPoll/queue
StartFragment
Com esse endpoint é possível você enviar mensagens no WhatsApp, veja um exemplo simples de como enviar uma mensagem usando PHP com CURL Exemplo
EndFrag
Request Body
{"number"=>"5531994359434", "options"=>{"delay"=>1200, "presence"=>"composing"}, "pollMessage"=>{"name"=>"Main text of the poll", "selectableCount"=>1, "values"=>["Question 1", "Question 2", "Question 3"]}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
DeviceToken | string |
RESPONSES
status: OK
{"id":"479fe787-8ee2-42e5-81c5-65cfaa8e5451","message":"Dados enviados para a fila com sucesso"}