Creates a poll with single or multiple-choice options
Auth:Documentation Index
Fetch the complete documentation index at: https://docs.ryzeapi.cloud/llms.txt
Use this file to discover all available pages before exploring further.
TokenAccount or TokenInstance • Rate-limit: Global (100/min) • Idempotent: no
@g.us) or newsletter (@newsletter). Supports 2 to 12 options (WhatsApp limit). The maxAnswer field controls how many options the user can select: 1 (default) = single choice; > 1 = multiple choice. If maxAnswer is omitted, invalid (< 1) or larger than len(options), the server normalizes it automatically to 1 or to the total number of options, respectively. Supports delay, replyTo and replyPrivate.
9am, 2pm, 4pm) and maxAnswer implicitly set to 1, the respondent can only pick one.
maxAnswer: 3 lets the respondent pick up to three options.
replyTo. The original message must belong to the same instance.
content pre-formats the question alongside the numbered options (1. ... 2. ...), it’s the textual representation used to index the poll in the history. The messageId is what you need to keep around to correlate votes received via webhook.
poll-update events on the configured webhook/WebSocket, referencing the poll’s messageId.$Instance_Name).TokenAccount or TokenInstance.application/json5511999999999) or JID (@s.whatsapp.net, @lid, @g.us, @newsletter).1 = single choice; > 1 = multiple choice. Values < 1 are normalized to 1; values larger than len(options) are clamped to the list size.true and replyTo points to a message originating from a group, the poll is redirected to the private chat of the original author (keeping the quote).crm, support-bot, n8n). Saved on the message record and propagated to webhooks.delay is in seconds (not milliseconds).maxAnswer is normalized by the server: < 1 becomes 1, and any value larger than len(options) falls back to len(options).poll-update when someone votes.@newsletter), polls may have limited behavior depending on channel permissions.| HTTP | Internal status | Message |
|---|---|---|
| 400 | — | Instance name is required |
| 400 | — | Invalid request body: <detail> |
| 400 | — | Number is required |
| 400 | — | Question is required |
| 400 | — | At least 2 options are required |
| 400 | invalid_number | Invalid phone number format: <detail> |
| 404 | — | Instance not found |
| 500 | send_failed | Failed to send poll: <reason> |
| 503 | disconnected | Instance is not connected to WhatsApp |