Ze da API icon

Ze da API

WhatsApp API powered by Ze da API - Send messages, manage groups, contacts and more

Actions137

Poll → Send Poll Vote

AI-generated

Summary

Send a vote on a poll message to specified recipients.

Inputs

  • phone (required) — Recipient phone number with country code
  • pollMessageId (required) — ID of the poll message to vote on
  • options (required) — Selected option(s) to vote for
  • delayMessage — Delay in seconds before sending (0 = API default 1-3s random)
  • scheduledFor — ISO 8601 timestamp for scheduled delivery; must be in the future
  • requestOptions — Batching and interval configuration for the request
  • allowUnauthorizedCerts — Accept responses even if SSL certificate validation fails
  • proxy — HTTP proxy to use (e.g., http://username:password@host:port)
  • timeout — Request timeout in milliseconds (default 10000)

Output shape

a JSON response indicating success or containing error details; typically empty on success

Errors are returned with HTTP status codes; successful calls return no body but may include a status field

Examples

Example 1: Submit a vote with a 2‑second delay

phone=5511999999999, pollMessageId=12345, options=["A","B"], delayMessage=2, requestOptions={"batchSize":50}

Links

Discussion