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": "video",
"video": {
"link": "https://example.com/video.mp4",
"caption": "Assista ao tutorial!"
}
}'
Envie um vídeo com legenda opcional
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": "video",
"video": {
"link": "https://example.com/video.mp4",
"caption": "Assista ao tutorial!"
}
}'
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": "video",
"video": {
"link": "https://example.com/video.mp4",
"caption": "Assista ao tutorial!"
}
}'