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)

execute
boolean

Actually send the media; default is a dry-run that only shows the plan (exit 3)

ptt
boolean

Send audio as voice note (PTT)

threadId
string

Thread/topic ID override

to
string

Target chat ID

Response

Success — body conforms to the @Returns schema.

delivery
object
required
media
object
required
success
boolean
required
target
object
required