v1

latestOpenAPI 3.0.3raw.githubusercontent.com2024-06-11720209.3 KB
Message Controller

Send Contact

Send Contact

post/message/sendContact/{instance}

Path parameters

instancestring required

ID of the instance to connect

Request body

numberstring required

Number to receive the message (with country code)

Response

Created

messageTimestampstring

The timestamp of the message, represented as a string.

statusstring

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

Example response

{
  "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"
}