PAPI WhatsApp icon

PAPI WhatsApp

Interaja com a PAPI WhatsApp API

Mensagem → Enviar Enquete

AI-generated

Summary

Send a poll message to a WhatsApp user or group using the specified WhatsApp instance.

Inputs

  • ID da Instância (required) — ID of the WhatsApp instance sending the poll.
  • Número/JID (required) — Phone number with country code or group JID to receive the poll.
  • Nome da Enquete (required) — The poll question to be sent.
  • Opções (required) — Comma-separated list of poll options (minimum 2, maximum 12).
  • Múltipla Escolha — Whether the poll allows multiple selections (true for multiple choice, false for single choice).

Output shape

a single JSON object with API response details for the sent poll

The response contains the result from the PAPI WhatsApp API call to send the poll message via the specified instance.

Examples

Example 1: Send a poll to a group

Use the instance ID for your WhatsApp instance, specify the group JID as destination, provide the poll name and a comma-separated list of options, and set multipleChoice as needed.

Discussion