Skip to main content
POST
Send a media message to a conversation

Yetkilendirmeler

Authorization
string
header
gerekli

The access token received from the authorization server in the OAuth 2.0 flow.

Başlıklar

X-Tenant
number
gerekli

Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.

Yol Parametreleri

id
integer
gerekli

The conversation identifier

Gövde

multipart/form-data
file
file
gerekli

The uploaded file.

message
string | null

The message body.

Maximum string length: 5000
message_format
enum<string> | null

How the caption in message is written: plain (the default) or markdown. It is stored as sent and converted to what the channel can show.

Mevcut seçenekler:
plain,
markdown
media_group_id
string<uuid> | null

Client-generated UUID shared by the images sent together as one album. A retry with the same group and index returns the original message_id instead of sending again.

media_group_index
integer | null

Zero-based position of this image in its album; messages are delivered in this order.

Gerekli aralık: 0 <= x <= 99

Yanıt

success
string
gerekli
data
object
gerekli