Send Message
Send Contact
Início
Instances
Settings
Send Message
Chat Controller
Profile Settings
Group Controller
- POSTCreate Group
- POSTUpdate Group Picture
- POSTUpdate Group Subject
- POSTUpdate Group Description
- GETFetch Invite Code
- POSTRevoke Invite Code
- POSTSend Group Invite
- GETFind Group by Invite Code
- GETFind Group by JID
- GETFetch All Groups
- GETFind Group Members
- POSTUpdate Group Members
- POSTUpdate Group Setting
- POSTToggle Ephemeral
- DELLeave Group
Typebot
OpenAI
Evolution Bot
Dify
Flowise
Chatwoot
Websocket
RabbitMQ
Send Message
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>",
"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"
}
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>",
"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"
}