PAPI WhatsApp icon

PAPI WhatsApp

Interaja com a PAPI WhatsApp API

Mensagem → Enviar Lista

AI-generated

Summary

Send a WhatsApp message containing a list with selectable options to a specified recipient or group using a given WhatsApp instance.

Inputs

  • ID da Instância (required) — ID of the WhatsApp instance to use for sending the message.
  • Número/JID (required) — Phone number (with country code) or group JID of the message recipient.
  • Texto do Corpo (required) — Main text body of the list message.
  • Rodapé — Footer text appearing below the list message.
  • Título — Title of the list message.
  • Texto do Botão (required) — Text displayed on the button that opens the list options.
  • Seções (required) — JSON array defining sections and their rows (list items) to display in the message.

Output shape

a single JSON object representing the API response from sending the list message

The output contains the API's JSON response which indicates success or failure of the send operation. This typically includes message identifiers or error details if the request fails.

Examples

Example 1: Send a list message to a user

Set the Instance ID, recipient phone number, main text body, button text, and sections JSON with list items to be sent.

Discussion