Contacts
Search
GET /contacts?q=ada
Searches name, email and company and returns the 25 newest matches.
Create or update by email
POST /contacts
{ "email": "ada@example.com", "name": "Ada Lovelace", "phone": "+49 30 1234", "company": "Analytical Engines", "context": "Prefers email." }
email is required. If a contact with that email exists it is filled in rather than duplicated.
Sync a user from your system
POST /contacts/upsert
| Field | Notes |
|---|---|
externalId | Your own user id. |
email, name, phone | Optional. |
attributes | Free-form values such as plan or account size. They merge with existing ones. |
The call is idempotent: a contact is matched by externalId first, then by email. Empty values never overwrite existing ones. A later identified widget chat finds the same contact.
Read and update one contact
GET /contacts/:id
PATCH /contacts/:id
Add a note
POST /contacts/:id/notes
{ "note": "Asked about the annual plan." }