Wavy WhatsApp icon

Wavy WhatsApp

Interact with Wavy WhatsApp Gateway

Message → Send Poll

AI-generated

Summary

Send a poll message to a WhatsApp contact or group chat.

Inputs

  • to (required) — The recipient's phone number (format: 62812345678) or JID (e.g., 62812345678@s.whatsapp.net).
  • question (required) — The text of the poll question.
  • options (required) — Comma-separated list of poll options.
  • quoted — A raw message object to quote (optional).
  • aiDisclosure — Enable AI metadata disclosure for supported message types.
  • secureMetaServiceLabel — Request secure service metadata on supported message types.

Output shape

The API response object containing the sent message details.

The response reflects the success or failure of the poll send request.

Examples

Example 1: Send a simple poll to a contact.

Set 'to' to 62812345678, 'question' to 'Favorite Color?', and 'options' to 'Red, Blue, Green'.

Links

Discussion