Skip to main content
Filters are supported on every POST .../search endpoint:
  • POST /v2/accounts/search
  • POST /v2/contacts/search
  • POST /v2/opportunities/search
The /v1 compatibility routes support the same filters.

Filter shape

Each filter is an object with field, operator, and value.
Multiple filters in the array combine with AND. For date and timestamp fields, pass an ISO 8601 date or date-time string. Unix timestamps are not accepted in search filters.

Supported operators

For select, multi-select, and team-member fields, values can match an option’s value or label. The option object returned by the read API is also accepted. eq and in match any supplied value, while contains and contains_all require every supplied value.

Operator aliases

These read more naturally and resolve to the same operator under the hood.

Custom field filters

Custom fields are filtered by their slug (the same key returned in custom_fields).
Look up slugs in the custom_field_definitions block of any response.

Examples

Range filter

Array membership

Date after

Empty check