Interactive Messages
Send CTA
Sends a message with a URL button. Supported on WhatsApp and Z-API.
POST
/
messages
/
interactive
/
send-cta
Sends a message with a URL button (Call to Action). This is supported on WhatsApp and Z-API channels.
Request Body
agentId: The ID of the agent.conversationId: The ID of the conversation.header_text: (Optional) Header text.body_text: Main message body.footer_text: (Optional) Footer text.button_display_text: Label for the URL button.button_url: The URL to open (must be a valid URL).
Example
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
agentId
string
requiredThe ID of the agent.
conversationId
string
requiredThe ID of the conversation.
header_text
string
Optional header text.
body_text
string
requiredMain message body.
footer_text
string
Optional footer text.
button_display_text
string
requiredLabel for the URL button.
button_url
string
requiredThe URL to open.
Was this page helpful?

