Skip to main content
POST
You can create a poll in a chat.
Send Poll Example

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Accept
string
Example:

"application/json"

Content-Type
string
Example:

"application/json"

Path Parameters

instance
string
required
Example:

"{{ instance_id }}"

Body

application/json
chatId
string
required
poll
object
required
reply_to
string

Response

Successful response

id
string
timestamp
number
from
string
fromMe
boolean
body
string
hasMedia
boolean
media
object
ack
number
ackName
string
replyTo
string
_data
object