Z-PRO icon

Z-PRO

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

Actions198

Interativo UazAPI → Uazapi Button

AI-generated

Summary

Send a button message with customizable text, choice options, footer text, and an image to the Interativo UazAPI endpoint.

Inputs

  • Ticket ID — Numeric identifier for the ticket, sent as 'ticketId' in the request body.
  • Text — Text message to display above the button choices, sent as 'text' in the request body.
  • Choices — JSON array of strings representing the selectable button options, sent as 'choices' in the request body after parsing.
  • Footer Text — Optional text displayed as a footer below the button choices, sent as 'footerText' in the request body.
  • Image Button — URL string for an image to show on the button, sent as 'imageButton' in the request body.

Output shape

a single JSON response object from the Interativo UazAPI reflecting the outcome of sending the button message

All input fields are optional, and if omitted, their defaults apply. The 'choices' field is parsed from JSON string input. Request options like batching, proxy, SSL handling, and timeout can be configured globally but do not alter output shape.

Examples

Example 1: Send a button message with three choices and a footer text to ticket 1262.

Ticket ID = 1262, Text = 'Escolha uma opcao:', Choices = ['Opcao 1','Opcao 2','Opcao 3'], Footer Text = 'Rodape opcional', Image Button = 'https://exemplo.com/img.png'

Links

Discussion