PAPI WhatsApp icon

PAPI WhatsApp

Interaja com a PAPI WhatsApp API

Mensagem → Enviar Botões

AI-generated

Summary

Send a WhatsApp message with interactive buttons to a specified recipient or group via a designated WhatsApp instance.

Inputs

  • ID da Instância (required) — Specify the ID of the WhatsApp instance to use for sending the message.
  • Número/JID (required) — Provide the recipient's phone number with country code (DDI) or the JID of the group to which the message will be sent.
  • Texto do Corpo (required) — Enter the main body text of the message.
  • Rodapé — Optionally specify footer text displayed below the buttons.
  • Botões (required) — Provide a JSON array defining the interactive buttons, supporting types like quick reply, URL, call, and copy code buttons.
  • Tipo de Header — Choose the header type for the message; options include none, text, image, or video.

Output shape

A single record containing the JSON response from the PAPI WhatsApp API upon sending the message.

The output represents the API response to the button message send action. Errors are returned as error messages in the output JSON if the request fails.

Discussion