Skip to main content
POST
/
v1
/
messages
/
send
/
contact
curl -X POST https://api.livchat.ai/v1/messages/send/contact \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "phone": "5511999999999",
    "name": "John Doe",
    "vcard": "BEGIN:VCARD\nVERSION:3.0\nN:Doe;John;;;\nFN:John Doe\nTEL;type=CELL:+1 555 123 4567\nEND:VCARD"
  }'
{
  "success": true,
  "code": 200,
  "data": {
    "details": "Sent",
    "id": "3EB04A45DCA355D01DB68C"
  }
}
Send a contact card (vCard) to share contact information.

Request Body

phone
string
required
Recipient phone number in international format
name
string
required
Display name for the contact
vcard
string
required
vCard formatted string with contact details

vCard Format

BEGIN:VCARD
VERSION:3.0
N:Doe;John;;;
FN:John Doe
TEL;type=CELL:+1 555 123 4567
EMAIL:john@example.com
END:VCARD
curl -X POST https://api.livchat.ai/v1/messages/send/contact \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "phone": "5511999999999",
    "name": "John Doe",
    "vcard": "BEGIN:VCARD\nVERSION:3.0\nN:Doe;John;;;\nFN:John Doe\nTEL;type=CELL:+1 555 123 4567\nEND:VCARD"
  }'
{
  "success": true,
  "code": 200,
  "data": {
    "details": "Sent",
    "id": "3EB04A45DCA355D01DB68C"
  }
}