Skip to main content
POST
/
send-poll
Dispatch Interactive Real-Time Polls
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
}
'

Documentation Index

Fetch the complete documentation index at: https://docs.wachat.net/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Authenticate your integration payloads by injecting your premium secure Wachat Account API Private Secret Key inside standard Authorization Bearer header vectors.

Body

application/json
instanceName
string
required

Name of your connected WhatsApp session profile.

number
string
required

Destination channel target phone route parameter.

pollName
string
required

The main survey query question or statement text.

options
string[]
required

Collection array mapping multiple choice answer options.

selectableCount
integer
required

Maximum count limit restriction designating total valid selectable check answers allowed per voter profile.

Response

200

Interactive polling layout distributed successfully.