Lists
A list is a named group of contacts, such as “Recall due” or “New patients October”. Lists are how you pick who a campaign calls and how you narrow the contacts page. A contact can be on any number of lists. Errors share one shape,{ "status", "error_code", "message", "details" }. Branch on error_code.
List Your Lists
GET /contact?list_id={id} or
Search Contacts with list_id.
Create a List
201 with the new, empty list. Two lists in a workspace cannot share a name, in any case:
a name that is taken returns 409 name_taken with the other list’s id in
details.existing_id.
Rename a List
404 list_not_found.
Delete a List
Add Many Contacts to a List
Use this for “put everyone over 50 with Delta Dental on Recall due”: find them with Search Contacts, then send their IDs here.already_on_list and nothing changes.
An empty list, a non-string ID or more than 500 IDs returns 400 validation_failed with
details.field contact_ids. Each added contact’s history shows it was added.
Add or remove one contact
Related
- Contacts to search everyone on a list
- Custom Fields for the details you keep on each contact
