cURL
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>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful response
The response is of type object.
object