Send Messages
Send Contact
Integrations
Status
Instances
Settings
Webhooks
Send Messages
Chat Management
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 Contact
Enviar contato
POST
/
message
/
sendContact
/
{instance}
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"
}
Authorizations
Seu cabeçalho da chave de autorização.
Path Parameters
ID da instância.
Body
application/json
Número para receber a mensagem (com o código do país)
Phone number non-stylized with country code (559912345678)
Phone number stylized (+55 31 9 9999-9999)
Contact full name
Nome da organização para contato
Endereço de email para contato
URL da página
Response
201 - application/json
Criado!
O conteúdo da mensagem, que pode incluir vários tipos de mensagens, como textos, imagens, contato, etc.
O timestamp da mensagem, representado como uma string.
O status da mensagem, quando foi enviada, recebida, ou pendente.
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"
}