List contacts
GET/v1/contacts
- Scope
messages:read - Pages with
before
People your team named, tagged or noted, most recently changed first. address looks up several people at once (repeat it or separate with commas, up to 100).
Parameters
Query
qstringMatches name, company, email or address.
tagstringOnly people with this tag (any case).
addressstring or array of stringLook up these people (repeatable or comma-separated, up to 100).
limitintegerItems per page, 1–200 (default 50).
beforestringThe
next_beforeof the previous page.
Response
200 OKA page of contacts.
object"list"requireddataarray of ContactrequiredFields of
dataidstring or nullrequiredctc_…, or null until someone names, tags or notes this person.object"contact"requiredaddressstringrequiredPhone numbers are E.164 (
+1…); emails lowercased.namestring or nullrequiredcompanystring or nullrequiredemailstring or nullrequiredtagsarray of stringrequiredupdated_bystring or nullrequiredcreated_attimestamp or nullrequiredupdated_attimestamp or nullrequired
has_morebooleanrequiredMore items exist after this page.
next_beforestring or nullrequiredPass as
beforefor the next page; null on the last one.
Errors
| Status | Code | Means |
|---|---|---|
| 400 | validation_failed | A field is missing or invalid. |
| 401 | unauthorized | The API key is missing, unknown or revoked. |
| 403 | insufficient_scope | The API key lacks the scope this needs. |
| 404 | not_found | No such object, or the key can't see it. |
Every error is { "error": { "code", "message" } }. All error codes.