Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

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

Body

application/json
contact_id
string
required

Message ID.

Example:

"xxx@c.us"

title
string
required

Polling title

Example:

"Are you have a bachelor degree ?"

options
string[]
required

Polling Name

Example:
is_multiple_answer
boolean
required

Multiple Answer ( user can choose more than one answer )

Example:

false

reply_to
string

Message ID to reply to (optional)

Example:

"message_id_here"

Response

PollMessageResource

success
boolean
required

The success status of response.

message
string
required

The message of response.

data
object
required