How Contacts Work
When you send a message to a new recipient, Zavu automatically:- Creates a contact record
- Detects the country from the phone number
- Determines available messaging channels
- Captures the WhatsApp profile name (if available)
Contact Properties
Get Contact by ID
Response
Get Contact by Phone Number
Look up a contact using their phone number:List Contacts
Retrieve all contacts with pagination:Filter by Phone Number
phoneNumber is an exact match on the contact’s primary phone number, in
E.164. It is not a prefix filter — use search for partial matches.
Search
search matches the contact’s name — both displayName and the WhatsApp profile
name — as well as its phone numbers and email addresses. It is case- and
accent-insensitive, so jose finds “José”.
Contacts created automatically from an inbound message have no
displayName, so
they only match on their identifier until you name one with
Update Contact.Filter by Tag
Tags group contacts into an audience you send to more than once. Filter by name:Tags are created, renamed and assigned from the dashboard. There is no tag CRUD
in the API yet.
Update Contact
Update a contact’s default channel or metadata:Updateable Fields
To change a contact’s phone number or email address, add or remove a channel —
identifiers are not updated through this endpoint.
Setting
defaultChannel affects smart routing. When you send a message with channel: "auto", Zavu will prefer the contact’s default channel.Contact Metadata
Store custom data on contacts for personalization and segmentation:Metadata values must be strings. Store complex data as JSON strings if needed.
Available Channels
TheavailableChannels array indicates which channels can reach this contact:
Phone Number Introspection
Validate a phone number and check available channels without creating a contact:Response
Complete Example
Next Steps
Smart Routing
Learn how defaultChannel affects message routing
Broadcasts
Send messages to many contacts at once
Phone Lookup
Validate and lookup phone numbers
Webhooks
Receive updates when contacts reply
API Reference
Manage contacts programmatically:- List contacts — paginated list, with
searchover name, phone and email - Get a contact — retrieve a contact by ID
- Get contact by phone — lookup a contact by phone number
- Update a contact — set the name, default channel, or metadata
- Delete a contact — permanently remove a contact
