Skip to main content
POST
Send a direct message

Authorizations

Authorization
string
header
required

API key from Developer dashboard (Bearer token).

Path Parameters

conversation_id
integer
required

Conversation id

Body

application/json
text
string

Message text

image_url
string

Optional image URL

media_type
enum<string>
default:image

Type of the attached media.

Available options:
image,
video,
audio,
file,
document
buttons
object[]

Up to 3 link buttons under the text (Facebook button template; Instagram rejects buttons - use quick_replies).

Maximum array length: 3
Example:
quick_replies
string[]

Tappable text chips (Facebook + Instagram).

Maximum array length: 13
Maximum string length: 20
Example:

Response

Success

success
enum<boolean>
Available options:
true
data
object
meta
object