Skip to main content
Some top level API resources can be filtered when listing them. Using filtering is a faster alternative to paginating through all resources. To create a search query, review the filter syntax and reference the filterable fields of the resource.

Examples

Listing people by name
Listing people by email domain or with empty emails
Listing people of a specific gender. Authorised values are ‘Male’, ‘Female’, ‘Other’, ‘Unknown’
Listing people not in any group
Listing people in some group
Listing people in all listed groups
Listing people in a company
Listing people the team last interacted with after a given date
Listing people you last interacted with after a given date
Listing people assigned to some users
Listing people associated to some contacts
Listing companies by name
Listing companies not in any group
Objects of every type are filtered the same way. The examples below list deals, whose object type is Deals. Listing deals by name
Listing deals with the status “Qualified”
Listing tasks due after a given date
Listing tasks not yet completed
Listing tasks assigned to some users
Listing tasks linked to a person

Filter syntax

The filter syntax allows you to specify conditions for the fields you want to filter by. The syntax is as follows: ?filter[<field>][<operator>]=<value> Where:
  • <field> is the field we want to filter on
  • <operator> is the operation we want to perform
  • <value> is the value we’re filtering against

Operators

The following operators are available for filtering:

Filterable fields

Select options are matched by their exact label (case-sensitive): an unknown label matches nothing.

Filterable fields for people

Filterable fields for companies

Filterable fields for objects

These fields apply to objects of every type, such as deals. Custom fields are named without a group ID, since an object belongs to a single group.
Unlike people and companies, objects cannot be filtered on relationship (contactField) custom fields, and object types have no object (objectField) custom fields. To find the objects linked to a person or a company, filter on people or companies. To find the people or companies linked to an object, filter people or companies on the object type field, such as customFieldValues.{groupId}.Deals above.

Filterable fields for tasks

Filterable fields for enrichments