MBKChat icon

MBKChat

Desfrute da MbkChat_API

Chat → Send Buttons

AI-generated

Summary

Send a message with interactive buttons

Inputs

  • phone (required) — Phone number to send message to (e.g. 5511999999999)
  • buttonTitle (required) — Main text of the message
  • buttonFooter — Footer text
  • buttons (required) — Buttons as JSON array
  • body — The text message to send

Output shape

array of response objects (one per input item)

Each element corresponds to a workflow item; on success it contains the API response, on failure it may contain an error field if continueOnFail is enabled, otherwise errors propagate.

Examples

Example 1: Send a button message with two quick‑reply options

Phone: 5551234567, buttonTitle: "Choose an option", buttonFooter: "Support", buttons: '[{"DisplayText":"Info","Type":"quickreply"},{"DisplayText":"Help","Type":"quickreply"}]'

Example 2: Send a button message using only required fields

Phone: 5551234567, buttonTitle: "Confirm", buttons: '[{"DisplayText":"Yes","Type":"quickreply"}]'

Links

Discussion