Overview

Use the Contacts API for CRM records stored in Wazapin.
  • contacts is the canonical customer resource.
  • Use POST /v1/contacts/lookup to resolve an existing stored contact by one or more identifiers.
  • Use POST /v1/channels/{channelID}/contacts/lookup only 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_id
  • phone
  • whatsapp
  • wa_id
  • email
  • external_id
When 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
If you are building CRM, automation, segmentation, or customer-data workflows, use lookup.