Skip to main content
POST
/
send-poll
Send Poll
curl --request POST \
  --url https://app.wachat.net/api/v1/send-poll \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "instanceName": "<string>",
  "number": "<string>",
  "pollName": "<string>",
  "options": [
    "<string>"
  ],
  "selectableCount": 123
}
'

Authorizations

Authorization
string
header
required

Provide your Wachat API Key as a Bearer token.

Body

application/json
instanceName
string
required
number
string
required
pollName
string
required
options
string[]
required
selectableCount
integer
required

Response

200

Poll sent successfully