Integrations
Status
Instances
Settings
Webhooks
Send Messages
Chat Management
- POSTCheck if WhatsApp
- PUTMark Message as Read
- PUTMark Chat as Unread
- PUTArchive Chat
- DELDelete Message for Everyone
- POSTSend Presence
- POSTFetch Profile Picture URL
- POSTFind Contacts
- POSTFind Chats
- POSTFind Messages
- POSTFind Status Message
- POSTFetch Base64 from Media Message
- PUTUpdate Message
- PUTUpdate Bot Status
Label Management
Profile Settings
Group Management
- POSTCreate Group
- PUTUpdate Group Picture
- PUTUpdate Group Subject
- PUTUpdate Group Description
- GETFetch Invite Code
- GETAccept Invite Code
- PUTRevoke Invite Code
- POSTSend Invite URL
- GETFind Group By Invite Code
- GETFind Group By JID
- GETFetch All Groups
- GETFind Participants
- PUTUpdate Group Participants
- PUTUpdate Group Settings
- PUTToggle Ephemeral Mode
- DELLeave Group
Send Messages
Send Location
Enviar localização
POST
/
message
/
sendLocation
/
{instance}
curl --request POST \
--url https://api.wappfy.com.br/message/sendLocation/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"number": "<string>",
"options": {
"delay": 123,
"presence": "composing"
},
"locationMessage": {
"name": "<string>",
"address": "<string>",
"latitude": 123,
"longitude": 123
}
}'
{
"key": {
"remoteJid": "559912345678@s.whatsapp.net",
"fromMe": true,
"id": "CBC2CDBAFA5C9"
},
"message": {
"locationMessage": {
"degreesLatitude": -23.5489,
"degreesLongitude": -46.6388,
"name": "Nome do Local",
"address": "Endereço do local",
"contextInfo": {}
}
},
"messageTimestamp": "1717779606",
"status": "PENDING"
}
Authorizations
Seu cabeçalho da chave de autorização.
Path Parameters
ID da instância.
Body
application/json
Response
201 - application/json
Created
The response is of type object
.
curl --request POST \
--url https://api.wappfy.com.br/message/sendLocation/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"number": "<string>",
"options": {
"delay": 123,
"presence": "composing"
},
"locationMessage": {
"name": "<string>",
"address": "<string>",
"latitude": 123,
"longitude": 123
}
}'
{
"key": {
"remoteJid": "559912345678@s.whatsapp.net",
"fromMe": true,
"id": "CBC2CDBAFA5C9"
},
"message": {
"locationMessage": {
"degreesLatitude": -23.5489,
"degreesLongitude": -46.6388,
"name": "Nome do Local",
"address": "Endereço do local",
"contextInfo": {}
}
},
"messageTimestamp": "1717779606",
"status": "PENDING"
}