Skip to main content
POST

Authorizations

x-api-key
string
header
required

Path Parameters

sessionId
string
required

Body

application/json
to
string
required
Example:

"22997000000"

mediaType
enum<string>
required
Available options:
image,
video,
audio,
document
url
string
required

URL publique du fichier média

mimetype
string
caption
string
filename
string
ptt
boolean

true = note vocale (audio uniquement)

Response

200 - application/json

Média envoyé

ok
boolean
id
string