POST
/
message
/
sendContact
/
{instance}
Send Contact
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

apikey
string
header
required

Your authorization key header

Path Parameters

instance
string
required

Name of the instance

Body

application/json
number
string
required

Number to receive the message (with country code)

contact
object[]
required
Minimum length: 1

Response

201 - application/json

Created

key
object

The key of the message, which identifies the message in the chat.

message
object

The message content, which may include various types of messages like text, images, contact, etc.

messageTimestamp
string

The timestamp of the message, represented as a string.

status
string

The status of the message, such as sent, received, or pending.