List all contacts
List the team's contacts across every contact book, newest first, with each contact's segments.
On this page
https://app.usenotix.dev/api/v1/contactsFull access and read only keys can call this. Sending access keys cannot. Key permissions lists the extra rules some calls have.
List the team's contacts across every contact book, newest first, with each contact's segments. Filter by search, emails, subscribed, contactBookId or segmentId (with its contactBookId). limit is 1 to 100 (40 by default).
Query parameters
1-based page number. Pages reach the first 20,000 contacts; narrow with a filter past that.
Minimum 1. Maximum 10000. Default 1.
Contacts per page, 1 to 100. Defaults to 40.
Minimum 1. Maximum 100. Default 40.
Part of an email, first name or last name.
Up to 100 exact addresses, separated by commas.
Only subscribed (true) or unsubscribed (false) contacts.
One of true, false.
Only this contact book.
Only this segment. Needs its contactBookId.
Headers
Bearer followed by your API key.
Errors
A bad filter, such as a segment without its contact book or a value that is not an email.
No segment with this id in the contact book for the calling team.
Every error has the same shape. See all error codes.
curl -X GET "https://app.usenotix.dev/api/v1/contacts" \
-H "Authorization: Bearer $NOTIX_API_KEY"
{
"data": [
{
"id": "cm1x8f3k20001qz7v5b9d2e4a",
"email": "customer@example.com",
"firstName": "Acme",
"lastName": "Acme",
"subscribed": true,
"contactBookId": "cm1x8f3k20001qz7v5b9d2e4a",
"createdAt": "string",
"segments": [
null
]
}
],
"total": 1,
"page": 1,
"totalPages": 1
}