Skip to main content
POST
Send a media file (image, video, audio, document)

Body

application/json
filePath
string
required

Path to the file to send

account
string

Ravi account/instance alias

caption
string

Caption for the media

channel
string

Target channel (informational override)

ptt
boolean

Send audio as voice note (PTT)

threadId
string

Thread/topic ID override

to
string

Target chat ID

Response

Success — no @Returns schema declared; payload shape is loose.

The response is of type object.