Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
contact_id
string
required

Contact ID.

Required string length: 10 - 50
Pattern: ^[0-9]+@[cs]\.us$
Example:

"xxx@c.us"

videoUrl
string<uri>
required

Video URL

Maximum string length: 2048
Pattern: ^https?://.*\.(mp4|avi|mov|wmv|flv|webm|mkv)$
Example:

"https://github.com/CrunchzApp/asset-example/raw/main/examples/video.mp4"

caption
string | null

Caption

Maximum string length: 1024
Example:

"Check this out bro!"

reply_to
string

Message ID to reply to (optional)

Required string length: 1 - 100
Pattern: ^[A-Za-z0-9_-]+$
Example:

"message_id_here"

Response

AudioMessageResource

success
boolean
required

The success status of response.

message
string
required

The message of response.

data
object
required