POST
/
api
/
messages
/
mediaUrl
curl --request POST \
  --url https://api.atendai.com/api/messages/mediaUrl \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "number": "<string>",
  "url": "<string>",
  "type": "<string>",
  "mimeType": "<string>",
  "fileName": "<string>",
  "message": "<string>",
  "autoClose": true
}'
{
  "message": "<success message>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200
application/json

Successful response

The response is of type object.