curl --request POST \
--url https://{server-url}/message/sendContact/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"number": "<string>",
"contact": [
{
"fullName": "<string>",
"wuid": "<string>",
"phoneNumber": "<string>",
"organization": "<string>",
"email": "<string>",
"url": "<string>"
}
]
}'
{
"key": {
"remoteJid": "553198296801@s.whatsapp.net",
"fromMe": true,
"id": "BAE58DA6CBC941BC"
},
"message": {
"contactMessage": {
"displayName": "Guilherme Gomes",
"vcard": "BEGIN:VCARD\nVERSION:3.0\nN:Guilherme Gomes\nFN:Guilherme Gomes\nORG:AtendAI;\nEMAIL:...",
"contextInfo": {}
}
},
"messageTimestamp": "1717780437",
"status": "PENDING"
}
curl --request POST \
--url https://{server-url}/message/sendContact/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"number": "<string>",
"contact": [
{
"fullName": "<string>",
"wuid": "<string>",
"phoneNumber": "<string>",
"organization": "<string>",
"email": "<string>",
"url": "<string>"
}
]
}'
{
"key": {
"remoteJid": "553198296801@s.whatsapp.net",
"fromMe": true,
"id": "BAE58DA6CBC941BC"
},
"message": {
"contactMessage": {
"displayName": "Guilherme Gomes",
"vcard": "BEGIN:VCARD\nVERSION:3.0\nN:Guilherme Gomes\nFN:Guilherme Gomes\nORG:AtendAI;\nEMAIL:...",
"contextInfo": {}
}
},
"messageTimestamp": "1717780437",
"status": "PENDING"
}
Your authorization key header
Name of the instance
Created
The response is of type object
.