ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Perfil → Enviar Carrossel

AI-generated

Summary

Sends a native WhatsApp carousel to a recipient through the selected ZapGate instance. Provide the recipient’s phone number with country code and a JSON array of 2–10 cards; each card needs a body and an image URL or image base64, with optional title, subtitle, footer, and buttons.

Inputs

  • to (required) — Recipient phone number with country code, digits only.
  • body — Optional text shown above the carousel.
  • footer — Optional text shown below the carousel.
  • cards (required) — JSON array of at least 2 cards. Each card requires a body and an imageUrl or imageBase64; title, subtitle, footer, and buttons are optional. The operation checks that the value is an array with at least 2 entries; the declared maximum of 10 is not enforced in this node code. Buttons may be copy, url, call, or reply.

Output shape

A list of items, each containing the ZapGate API response as JSON.

Makes a POST request to the selected instance’s /send-carousel endpoint using instance authentication. Each output item is paired with its corresponding input item; with Continue On Fail enabled, errors are returned in that item’s JSON as an error field.

Links

Discussion