curl --request POST \
--url https://apis.vectalk.com.br/messages \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"messaging_product": "whatsapp",
"to": "5511999999999",
"type": "audio",
"audio": { "link": "https://example.com/audio.ogg" }
}'
Envie um arquivo de áudio
curl --request POST \
--url https://apis.vectalk.com.br/messages \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"messaging_product": "whatsapp",
"to": "5511999999999",
"type": "audio",
"audio": { "link": "https://example.com/audio.ogg" }
}'
Hide campos
link ou id.curl --request POST \
--url https://apis.vectalk.com.br/messages \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"messaging_product": "whatsapp",
"to": "5511999999999",
"type": "audio",
"audio": { "link": "https://example.com/audio.ogg" }
}'