POST
/
send-message
/
poll
curl --request POST \
  --url https://api.crunchz.app/api/send-message/poll \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "contact_id": "xxx@c.us",
  "title": "Are you have a bachelor degree ?",
  "options": [
    "Yes",
    "No",
    "I don'\''t think so"
  ],
  "is_multiple_answer": false
}'
{
  "success": true,
  "message": "<string>",
  "data": {
    "status": "<string>",
    "message": "<string>",
    "timestamp": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200
application/json

PollMessageResource

The response is of type object.