Skip to main content
GET
/
v1
/
contacts
/
{contactId}
Get contact
curl --request GET \
  --url https://api.zavu.dev/v1/contacts/{contactId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "phoneNumber": "+56912345678",
  "countryCode": "CL",
  "profileName": "John Doe",
  "availableChannels": [
    "<string>"
  ],
  "defaultChannel": "sms",
  "verified": true,
  "metadata": {},
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

contactId
string
required

Response

Contact details.

id
string
required
phoneNumber
string
required

E.164 phone number.

Example:

"+56912345678"

countryCode
string
Example:

"CL"

profileName
string | null

Contact's WhatsApp profile name. Only available for WhatsApp contacts.

Example:

"John Doe"

availableChannels
string[]

List of available messaging channels for this contact.

defaultChannel
enum<string>

Preferred channel for this contact.

Available options:
sms,
whatsapp,
email
verified
boolean

Whether this contact has been verified.

metadata
object
createdAt
string<date-time>
updatedAt
string<date-time>