Skip to main content
POST

Overview

Sends a message with action buttons to a contact. The content.type field must be INTERACTIVE_ACTION. Available button types:
  • URL — Opens a link when clicked
  • CALL — Calls a number when clicked
The header and footer fields are optional.
Details of the Meta Cloud API rule in conversation window. See what each channel accepts for every channel.
If the channel is disconnected, the API refuses the send with 422 and subCode CHANNEL_DISCONNECTED, and the message is not sent. See Send errors.

Authorizations

Authorization
string
header
required

Secret Key generated in the Omni Z-API Security panel

Path Parameters

channelId
string
required

Channel ID

Example:

"YOUR_CHANNEL_ID"

Body

application/json
recipient
object
required
content
object
required

Response

Message sent successfully

messageId
string

Sent message ID — 32-character uppercase hexadecimal string