Send poll message
Endpoint: {{baseUrl}}/message/poll
Method: POST
Category: Send message
📝 Description
This endpoint is used to send poll message. You must include a valid access_token in the headers.
🔐 Headers
Authorization:Bearer {{access_token}}Content-Type:application/json
📥 Request Parameters
phone: required, typestrname: required, typestrselectable: required, typeintvalues: required, typelistinstance_id: required, typestr
📦 Example Request Body
{
"phone": "{{phoneNumber}}",
"name": "Main text of the poll",
"selectable": 0,
"values": [
"Question 1",
"Question 2",
"Question 3"
],
"instance_id": "{{instanceId}}"
}