v1

latestOpenAPI 3.1.02026-07-1413113265.9 KB
message

send vCard

Send a vCard to a contact or group.

post/instances/{id}/client/action/send-vcard

Path parameters

idinteger required

The ID of the instance.

Request body

chatIdstring required

Chat ID <countrycode_short><usernumber>@c.us or @g.us for groups

firedandforgetboolean

Set to true to process the request asynchronously. Returns a reference UUID for polling via GET /instances/{id}/request/{reference}. Alias: faf

Example request

{
  "chatId": "50664083362@c.us",
  "vCard": {
    "waid": "xxxxxxxxxxxx",
    "internationalnumber": "+15551234567",
    "lastname": "Doe",
    "firstname": "John",
    "displayname": "John Doe",
    "title": "Mr.",
    "organization": "Example Corp",
    "email": "john.doe@example.com",
    "street": "123 Main St",
    "city": "Anytown",
    "zip": "12345",
    "state": "CA",
    "country": "USA",
    "website": "https://example.com"
  }
}

Response

Vcard sent successfully

status'success' | 'error'

Example response

{
  "data": {
    "status": "success",
    "instanceId": "1",
    "data": {
      "sendVcard": true
    }
  },
  "status": "success"
}