Message Controller

Send Contact

post/message/sendContact/{instance}

Request

  • Base URL
    https://evolution-example
  • URL
    https://evolution-example/message/sendContact/{instance}
  • Auth
    API key in header apikey

Path parameters

instancestring required

Name of the instance

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

Changes

    • breaking

      added the new required request property

    • warning

      removed the request property

    • warning

      removed the request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      removed the success response with the status

    • info

      api operation id sendContact was added

    • info

      the endpoint scheme security ApiKeyAuth was added to the API

    • info

      api tag Message Controller added

    • info

      api tag Send Message removed

    • info

      added the new optional request property

    • info

      added the success response with the status