Overview
Use the Contacts API for CRM records stored in Wazapin.contactsis the canonical customer resource.- Use
POST /v1/contacts/lookupto resolve an existing stored contact by one or more identifiers. - Use
POST /v1/channels/{channelID}/contacts/lookuponly when you need provider-specific profile lookup from a channel.
Common headers
string
required
Primary auth header for public API requests.
string
required
Use
application/json.Canonical contact endpoints
Create a contact
POST /v1/contacts
Resolve a contact
POST /v1/contacts/lookup
Use this endpoint when your system knows one or more identifiers, but does not yet know Wazapin’s internal contactID.
Supported identifier types:
contact_idphonewhatsappwa_idemailexternal_id
type is external_id, include source.
Resolve by phone
cURL
Resolve by external identity
cURL
Resolve response
200 OK
404 Not Found
409 Conflict
Update a contact
PATCH /v1/contacts/{contactID}
cURL
Provider lookup versus CRM resolve
Use the correct endpoint for the correct job:POST /v1/contacts/lookup- resolves a stored CRM contact inside Wazapin
POST /v1/channels/{channelID}/contacts/lookup- looks up provider-specific profile data from a connected channel
lookup.