Z-PRO icon

Z-PRO

Consome a API externa da Z-PRO (multiatendimento WhatsApp e outros canais)

Actions198

Interativo Baileys → Baileys Cta Call

AI-generated

Summary

Send a WhatsApp call-to-action message using the Baileys protocol with customizable ticket ID, message body, footer, display text, and phone number fields.

Inputs

  • Ticket ID — Numeric identifier for the ticket, sent in the request body as 'ticketId'. Defaults to 1262 if not provided.
  • Body — JSON-formatted object defining the main text content of the message, sent as 'body' in the request body. Defaults to {"text": "Precisa de ajuda?"}.
  • Footer — JSON-formatted object defining the footer text of the message, sent as 'footer' in the request body. Defaults to {"text": "Ligue para nos"}.
  • Display Text — String representing the call-to-action display text, sent as 'displayText' in the request body. Defaults to 'Ligar agora'.
  • Phone Number — String representing the phone number to call, sent as 'phoneNumber' in the request body. Defaults to '+5511999999999'.

Output shape

a single JSON response confirming the call-to-action message submission or failure

The operation does not specify pagination or streaming; the response JSON structure corresponds to the Z-PRO API's acknowledgement of the sent message. Optional request settings like batching, timeout, SSL handling, and proxy are available but hidden from the typical inputs.

Examples

Example 1: Send a call-to-action message with default texts and phone number to a ticket ID 1262.

Only provide the ticket ID if different; the message body, footer, display text, and phone number default to preset values.

Links

Discussion