ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Etiquetas → Enviar Botão Nativo

AI-generated

Summary

Sends a WhatsApp message with a native interactive button to a recipient through the ZapGate instance. Choose a copy, URL, call, or quick-reply button and provide the corresponding button details.

Inputs

  • to (required) — Recipient phone number with country code (DDI), digits only; group chats can use a group JID.
  • title — Optional message heading.
  • body (required) — Main message text shown above the button.
  • footer — Optional text shown below the message body.
  • buttonType (required) — Button kind: copy, url, call, or reply. Defaults to copy.
  • displayText (required) — Button label for copy, URL, and call button types.
  • copyCode (required) — Text copied when the copy button is tapped; used with buttonType=copy.
  • url (required) — Link opened in a browser; used with buttonType=url.
  • phoneNumber (required) — Number to dial, including country code; used with buttonType=call.
  • replyButtons (required) — For buttonType=reply, enter one quick reply per line as Text|id. The id is optional and up to three replies are accepted; omitted IDs are generated.

Output shape

One JSON item per input item containing the ZapGate API response, paired with its input item.

Requires ZapGate API credentials with an instance ID and an admin API key or instance token. The node sends a POST request to the instance's native-button endpoint. For reply buttons, at least one line and no more than three are allowed; the API response shape depends on ZapGate.

Links

Discussion