PAPI WhatsApp icon

PAPI WhatsApp

Interaja com a PAPI WhatsApp API

Mensagem → Enviar Carrossel

AI-generated

Summary

Send a carousel message composed of multiple cards to a WhatsApp recipient or group via a specified 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.
  • Cards do Carrossel (required) — JSON array defining the carousel cards, each with header (title, subtitle, imageUrl), body text, footer, and buttons with display text and URLs.

Output shape

a single JSON object representing the response from the WhatsApp API for sending the carousel message.

The response JSON depends on the external API endpoint and typically confirms message delivery status or includes error details.

Examples

Example 1: Send a carousel message with multiple cards each containing images, titles, descriptions, and a button linking to a URL.

Set 'ID da Instância' to target WhatsApp instance, specify recipient's 'Número/JID', and provide a valid JSON array in 'Cards do Carrossel' describing each card's content and buttons.

Discussion