curl --request POST \
--url https://api.wappfy.com.br/message/sendContact/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"number": "<string>",
"options": {
"delay": 123,
"presence": "composing"
},
"contactMessage": [
{
"fullName": "<string>",
"wuid": "<string>",
"phoneNumber": "<string>",
"organization": "<string>",
"email": "<string>",
"url": "<string>"
}
]
}'
{
"key": {
"remoteJid": "559912345678@s.whatsapp.net",
"fromMe": true,
"id": "CBC2CDBAFA5C9"
},
"message": {
"contactMessage": {
"displayName": "Nome do Contato",
"vcard": "BEGIN:VCARD\nVERSION:3.0\nN:Nome do Contato\nFN:Nome do Contato\nORG:Nome da Empresa;\nEMAIL:email@exemplo.com",
"contextInfo": {}
}
},
"messageTimestamp": "1720453008",
"status": "PENDING"
}
Enviar contato
curl --request POST \
--url https://api.wappfy.com.br/message/sendContact/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"number": "<string>",
"options": {
"delay": 123,
"presence": "composing"
},
"contactMessage": [
{
"fullName": "<string>",
"wuid": "<string>",
"phoneNumber": "<string>",
"organization": "<string>",
"email": "<string>",
"url": "<string>"
}
]
}'
{
"key": {
"remoteJid": "559912345678@s.whatsapp.net",
"fromMe": true,
"id": "CBC2CDBAFA5C9"
},
"message": {
"contactMessage": {
"displayName": "Nome do Contato",
"vcard": "BEGIN:VCARD\nVERSION:3.0\nN:Nome do Contato\nFN:Nome do Contato\nORG:Nome da Empresa;\nEMAIL:email@exemplo.com",
"contextInfo": {}
}
},
"messageTimestamp": "1720453008",
"status": "PENDING"
}
Seu cabeçalho da chave de autorização.
ID da instância.
Criado!
The response is of type object
.