curl --request POST \
--url https://apis.vectalk.com.br/api/messages \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"messaging_product": "<string>",
"recipient_type": "<string>",
"to": "<string>",
"type": "<string>",
"context": {
"context.message_id": "<string>"
},
"location": {
"location.latitude": "<string>",
"location.longitude": "<string>",
"location.name": "<string>",
"location.address": "<string>"
}
}
'Envia uma mensagem de localização via WhatsApp.
curl --request POST \
--url https://apis.vectalk.com.br/api/messages \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"messaging_product": "<string>",
"recipient_type": "<string>",
"to": "<string>",
"type": "<string>",
"context": {
"context.message_id": "<string>"
},
"location": {
"location.latitude": "<string>",
"location.longitude": "<string>",
"location.name": "<string>",
"location.address": "<string>"
}
}
'"whatsapp"."individual".wa_id."location".Show Campos
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "5511999999999",
"type": "location",
"location": {
"latitude": "-23.561414",
"longitude": "-46.655881",
"name": "Av. Paulista",
"address": "Av. Paulista, 1000 - São Paulo, SP"
}
}
{
"messaging_product": "whatsapp",
"contacts": [{ "input": "5511999999999", "wa_id": "5511999999999" }],
"messages": [{ "id": "wamid.HBgLNTUxMTk5OTk5OTk5..." }]
}