Path Parameters
The contact identifier (e.g.,
con_abc123)curl --request GET \
--url https://api.zavu.dev/v1/contacts/{contactId} \
--header 'Authorization: Bearer <token>'{
"id": "con_abc123",
"phoneNumber": "+56912345678",
"countryCode": "CL",
"availableChannels": ["sms", "whatsapp"],
"defaultChannel": "whatsapp",
"verified": true,
"metadata": {
"name": "John Doe",
"customerId": "cus_123"
},
"createdAt": "2024-01-15T10:00:00.000Z",
"updatedAt": "2024-01-15T10:00:00.000Z"
}
Retrieve a specific contact by ID
curl --request GET \
--url https://api.zavu.dev/v1/contacts/{contactId} \
--header 'Authorization: Bearer <token>'{
"id": "con_abc123",
"phoneNumber": "+56912345678",
"countryCode": "CL",
"availableChannels": ["sms", "whatsapp"],
"defaultChannel": "whatsapp",
"verified": true,
"metadata": {
"name": "John Doe",
"customerId": "cus_123"
},
"createdAt": "2024-01-15T10:00:00.000Z",
"updatedAt": "2024-01-15T10:00:00.000Z"
}
con_abc123){
"id": "con_abc123",
"phoneNumber": "+56912345678",
"countryCode": "CL",
"availableChannels": ["sms", "whatsapp"],
"defaultChannel": "whatsapp",
"verified": true,
"metadata": {
"name": "John Doe",
"customerId": "cus_123"
},
"createdAt": "2024-01-15T10:00:00.000Z",
"updatedAt": "2024-01-15T10:00:00.000Z"
}
curl https://api.zavu.dev/v1/contacts/con_abc123 \
-H "Authorization: Bearer zv_live_xxx"