Send Message
Send Contact
Início
Instances
Settings
Send Message
Chat Controller
Profile Settings
Group Controller
- POSTCreate Group
- PUTUpdate Group Picture
- PUTUpdate Group Subject
- PUTUpdate Group Description
- GETFetch Invite Code
- GETAccept Invite Code
- PUTRevoke Invite Code
- POSTSend Group Invite
- GETFind Group by Invite Code
- GETFind Group by JID
- GETFetch All Groups
- GETFind Group Members
- PUTUpdate Group Members
- PUTUpdate Group Setting
- PUTToggle Ephemeral
- DELLeave Group
Chatwoot
RabbitMQ
WebSocket
Send Message
Send Contact
Send Contact
POST
/
message
/
sendContact
/
{instance}
curl --request POST \
--url https://{server-url}/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": "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"
}
Authorizations
Your authorization key header
Path Parameters
ID of the instance to connect
Body
application/json
Number to receive the message (with country code)
Phone number non-stylized with country code (553198296801)
Phone number stylized (+55 31 9 9999-9999)
Contact full name
Organization name for the contact
Contact email address
Page URL
Response
201 - application/json
Created
The message content, which may include various types of messages like text, images, contact, etc.
The timestamp of the message, represented as a string.
The status of the message, such as sent, received, or pending.
curl --request POST \
--url https://{server-url}/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": "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"
}