Get contact
Authorization
AuthorizationheaderrequiredBearer YOUR_API_KEY. Create a key in the dashboard.
Path parameters
contactIdstringrequired
Responses
200Contact details.
idstringrequireddisplayNamestringDisplay name for the contact.
phoneNumberstringDEPRECATED: Use primaryPhone instead. Primary phone number in E.164 format.
primaryPhonestringPrimary phone number in E.164 format.
primaryEmailstring<email>Primary email address.
countryCodestringprofileNamestringContact's WhatsApp profile name. Only available for WhatsApp contacts.
whatsappobjectWhatsApp identity. Present when Zavu has a business-scoped user ID (BSUID) for the contact, and absent otherwise. A contact with a username can be reached under its BSUID, its phone number, or both; they are the same contact. Look one up by BSUID with the
bsuidquery parameter of the list endpoint.2 properties
bsuidstringrequiredBusiness-scoped user ID. Can be used as
towhen sending.usernamestringThe WhatsApp username, when Meta reported one.
availableChannelsstring[]requiredList of available messaging channels for this contact.
defaultChannelstringPreferred channel for this contact.
One ofsmswhatsapptelegramemailinstagrammessengervoiceverifiedbooleanrequiredWhether this contact has been verified.
channelsobject[]All communication channels for this contact.
12 properties
idstringrequiredchannelstringrequiredChannel type.
One ofsmswhatsappemailtelegraminstagrammessengervoiceidentifierstringrequiredChannel identifier (phone number or email address).
countryCodestringISO country code for phone numbers.
labelstringOptional label for the channel.
isPrimarybooleanrequiredWhether this is the primary channel for its type.
verifiedbooleanrequiredWhether this channel has been verified.
metricsobjectDelivery metrics for this channel.
5 properties
successCountintegerfailureCountintegertotalAttemptsintegeravgDeliveryTimeMsnumberlastSuccessAtstring<date-time>
lastInboundAtstring<date-time>Last time a message was received on this channel.
metadataobject1 properties
{key}string
createdAtstring<date-time>requiredupdatedAtstring<date-time>
metadataobjectrequired1 properties
{key}string
createdAtstring<date-time>requiredupdatedAtstring<date-time>
401Unauthorized.
codestringrequiredmessagestringrequireddetailsobject
404Contact not found.
codestringrequiredmessagestringrequireddetailsobject