Skip to main content
SearchVersion: v3

Search Contacts

POST/contacts/search

Search contacts based on combinations of advanced filters. Documentation Link - https://doc.clickup.com/8631005/d/h/87cpx-158396/6e629989abe7fad

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your access token.

Scope:contacts.readonly
Auth methods:OAuthPrivate Integration
Token type:Sub-Account Token

Request​

Headers

Versionstringrequired

API Version. Send v3.

Available optionsv3
Example:v3

Body

locationIdstring

Location Id to search in. Required.

Example:5DP41231LkQsiKESj6rh
pageLimitnumber

Number of contacts per page. Required. Maximum 500.

Possible values: <= 500

Example:20
pagenumber

Page number for standard pagination, starting at 1.

  • Standard pagination returns up to 10,000 records in total, at most 500 per request: page × pageLimit must not exceed 10,000. For example, page: 20 with pageLimit: 500 returns the last set.
  • To go past 10,000 records, use searchAfter.
  • ⚠️ page is ignored when searchAfter is a non-empty array: results start right after the cursor. Send one or the other.
Default:1
Example:1
searchAfterobject[]

Use this to get the next page of results.

• Copy the searchAfter value from the last contact in the previous response and send it here unchanged. Its values can be numbers or strings.

• You need it to go past the first 10,000 contacts.

• When you send it, page is ignored.

• To start from the first page, leave it out or send an empty list ([]).

• If the response has no contacts, you have reached the end.

Example:[1700000000000,"ocQHyuzHvysMo5N5VsXc"]
querystring

Text to search for. It is matched against the contact fields marked searchable in the location's Custom Fields Settings. For email and phone, it also matches additional emails and phone numbers. Maximum 75 characters.

Possible values: <= 75 characters

Example:tom
filtersobject[]

Filters, or groups of filters, to narrow the results. Each filter has three parts:

  1. Field: the contact attribute the filter applies to, e.g. firstNameLowerCase.
  2. Operator: the comparison to run on the field, e.g. eq or contains.
  3. Value: the value the field is compared with; a string, number or other type that fits the field.
  • Each item is either a filter (field, operator, value) or a group (group: AND / OR, with nested filters).
  • ⚠️ By default every filter in the filters array is combined with AND.
  • Results can take a few seconds to reflect recent changes.

Example: first name contains john and an email is set, and the city is New York or the state is California

[
{
"group": "AND",
"filters": [
{
"field": "firstNameLowerCase",
"operator": "contains",
"value": "john"
},
{
"field": "email",
"operator": "exists"
}
]
},
{
"group": "OR",
"filters": [
{
"field": "city",
"operator": "eq",
"value": "New York"
},
{
"field": "state",
"operator": "eq",
"value": "California"
}
]
}
]

Contacts changed since a time (incremental sync): Filter dateUpdated using range with gte set to your last sync time. Sort by dateUpdated ascending and paginate using searchAfter.

  • Time range: gte and lte are inclusive; gt and lt are exclusive. Use ISO 8601 timestamps with a time zone (e.g., 2026-11-05T20:21:00.000Z). dateUpdated has millisecond precision.
  • Updates: dateUpdated changes when a contact is updated, including custom field updates. Formula field recalculations do not update dateUpdated.
  • Indexing delay: Changes appear in search results after a delay that can vary. Start each sync from a time earlier than your previous sync time so the windows overlap, and de-duplicate by contact id. For more reliable tracking, periodically reconcile records or use ContactCreate and ContactUpdate webhooks.
  • Pagination: To get the next page, pass the searchAfter value of the last returned contact unchanged. Results are not a snapshot, so contacts updated during pagination may appear more than once. To resume a later sync, filter by dateUpdated again instead of reusing an old searchAfter.
  • Deletions: Deleted contacts are excluded from results. Use the ContactDelete webhook to track deletions. If a deleted contact is restored, its dateUpdated changes and the next sync returns it.
Example
[
  {
    "field": "dnd",
    "operator": "eq",
    "value": true
  },
  {
    "field": "dateUpdated",
    "operator": "range",
    "value": {
      "gte": "2026-11-01T00:00:00Z"
    }
  },
  {
    "group": "OR",
    "filters": [
      {
        "field": "firstNameLowerCase",
        "operator": "eq",
        "value": "alex"
      },
      {
        "field": "lastNameLowerCase",
        "operator": "eq",
        "value": "peter"
      }
    ]
  }
]
sortobject[]

Sort order, applied in the order given. Contacts that tie are ordered by id, so searchAfter paging is stable.

Example
[
  {
    "field": "firstNameLowerCase",
    "direction": "desc"
  }
]
assignedTostring

Only contacts assigned to this user. The same as a filters item on assignedTo with operator eq.

Example:182goXVW3lIExEQPOnd3
fastPaginationboolean

Faster pagination for large result sets: the matching contacts are not counted, so the response carries hasMore instead of total.

  • hasMore: true when another page exists, false on the last page.
  • total is not returned. For the exact count, send the same filters without fastPagination; pageLimit: 0 returns only total.
  • With page, the last page inside the 10,000-result window returns hasMore: false even when more contacts match. Use searchAfter to page past it.

Response without fastPagination (default)

{
"contacts": [
{
"id": "102goXVW3lIExEQPOnd3",
"searchAfter": [
1730700000000,
"102goXVW3lIExEQPOnd3"
]
}
],
"total": 1245
}

Response with fastPagination: true

{
"contacts": [
{
"id": "102goXVW3lIExEQPOnd3",
"searchAfter": [
1730700000000,
"102goXVW3lIExEQPOnd3"
]
}
],
"hasMore": true
}
Default:false
Example:false

Response

Successful response

contactsobject[]

List of contacts matching the search criteria. Omitted when pageLimit is 0.

totalnumber

Total number of contacts matching the search criteria. Not returned when fastPagination is true; for the exact count, send the same filters without fastPagination.

Example:120
hasMoreboolean

Returned only when fastPagination is true, in place of total. true when another page exists, false on the last page.

Example:true