Actions70
- Chat Actions
- Community Actions
- Group Actions
- Instance Actions
- Label Actions
- Message Actions
- Newsletter Actions
- Send Message Actions
- User Actions
Send Message → Send Poll
AI-generatedSummary
Send a poll message to a specified phone number via the EvoGo API.
Inputs
- instanceApiKey (required) — Instance API key for authentication.
- sendPollNumber (required) — Phone number with country code to which the poll will be sent.
- sendPollQuestion (required) — Question text for the poll.
- sendPollMaxAnswer — Maximum number of answers allowed; defaults to 1.
- sendPollOptions — List of options for the poll. Add one or more options.
- sendPollDelay — Delay in milliseconds before sending the poll; defaults to 0.
- sendPollAdditionalFields — Additional optional fields including mentions and reply quoting parameters.
Output shape
a single JSON object representing the HTTP response from the /send/poll endpoint.
The output shape corresponds to the response from the EvoGo API after sending the poll. Optional fields like mentions and quoted messages can be included to customize the poll message.
Examples
Example 1: Send a poll to a contact with three options allowing one answer.
Specify the phone number, poll question, maximum of 1 answer, and add three options; provide the instance API key.