WaChatty icon

WaChatty

Send WhatsApp messages through the WaChatty API

WhatsApp → Send Interactive Carousel

AI-generated

Summary

Send an interactive WhatsApp carousel message containing between 2 and 10 cards to a recipient via the WaChatty API.

Inputs

  • Sender (required) — WhatsApp sender number connected to WaChatty.
  • Recipient (required) — Recipient WhatsApp number.
  • Message (required) — Body text introducing the interactive carousel.
  • Cards (required) — An array of 2 to 10 cards. Each card includes required body text, optional title and image URL, and up to 2 buttons. Each button must have text and a type which determines its required additional fields (e.g., quick reply ID, URL, phone number, or copy code).

Output shape

a JSON object representing the API response for the sent carousel message

The output contains the raw response from the WaChatty API, including a wa_msg_id if the message is successfully sent. If the API indicates failure or an invalid payload is provided, an error is raised unless 'Continue On Fail' is enabled, in which case the error message is output per item.

Links

Discussion