What one contact holds
GET /api/contacts returns one row per unique contact.
GET /api/contacts/{phoneNumber}/calls returns everything the platform has
done with one person: their calls and a dispositionSummary counting how the
calls ended.
Outcome types on a contact
A contact’sdisposition.type and the disposition filter use these values:
These are the contact-level names. The per-call outcome constants that
workflows route on, such as
SUCCESS and KILL_SWITCH, are listed in
What your agent records.
Four ways to stop calling someone
They look similar and they are not. Pick the one that matches who decided and how wide it reaches.Your own test leads
You will dial yourself and your team while building. Mark those contacts as internal withPOST /api/contacts/internal, identifying the contact by
contactId, by phoneNumber, or by both, with the project’s locationId.
- Their calls are left out of every performance figure: lead counts, booking and transfer rates, pickup, trends and the heatmap.
- Their cost is kept. The minutes were really spent and really billed, so the dashboard stays in step with your wallet.
- They still get called. The mark changes reporting only.
GET /api/contacts lists them by default with isInternal set on each row.
Send internal=only to see just them, or internal=exclude to hide them.
Clear the mark with DELETE /api/contacts/internal.
Finding contacts
Sort with
sortBy (leadName, phoneNumber, projectName, dateAdded,
callCount) and sortOrder (asc, desc). Page with page and limit.
GET /api/contacts/filters returns the projects and dispositions present in
your data.
Boundaries
- A contact is unique per phone number within a project.
projectNameon a write is a display label only.locationIdis the tenant identity.- Marking a contact internal never suppresses a call. Use the do-not-call flag for that.
In the API
- List contacts and List contact filter options
- List contact calls
- Set contact do-not-call and Clear contact do-not-call
- Mark contact internal and Clear contact internal mark
- Every field above is defined in the Glossary
Related
- Call records hold the per-call detail behind each contact.
- Backfill existing leads enrols contacts that were already in the CRM.
