List all contacts

List the team's contacts across every contact book, newest first, with each contact's segments.

On this page
GEThttps://app.usenotix.dev/api/v1/contacts

Full 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

pageinteger

1-based page number. Pages reach the first 20,000 contacts; narrow with a filter past that.

Minimum 1. Maximum 10000. Default 1.

limitinteger

Contacts per page, 1 to 100. Defaults to 40.

Minimum 1. Maximum 100. Default 40.

searchstring

Part of an email, first name or last name.

emailsstring

Up to 100 exact addresses, separated by commas.

subscribedstring

Only subscribed (true) or unsubscribed (false) contacts.

One of true, false.

contactBookIdstring

Only this contact book.

segmentIdstring

Only this segment. Needs its contactBookId.

Headers

Authorizationstringrequired

Bearer followed by your API key.

Errors

400

A bad filter, such as a segment without its contact book or a value that is not an email.

404

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"
Response200
{
  "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
}
Open in ClaudeOpen in ChatGPT