POST
/
chat
/
getBase64FromMediaMessage
/
{instance}
curl --request POST \
  --url https://{server-url}/chat/getBase64FromMediaMessage/{instance} \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '{
  "message": {
    "key": {
      "id": "<string>"
    }
  },
  "convertToMp4": true
}'

Authorizations

apikey
string
header
required

Your authorization key header

Path Parameters

instance
string
required

ID of the instance to connect

Body

application/json
message
object
required
convertToMp4
boolean

Convert video to MP4, for video only