Search customers with advanced filters

🚧

Beta — subject to change. This endpoint is publicly available, but its request/response shape may evolve before General Availability as we incorporate early feedback.

Searches customers using a structured filter body with nested logical operators (and, or) and per-field comparators. Use this when the flat query parameters on GET /customers aren’t expressive enough. The response payload matches GET /customers.

Only the fields listed in the request schema may appear in filter and order; unknown fields return 422. Custom fields on customers are behind a feature flag — contact [email protected] to enable. Once enabled, custom field values are addressable via custom_fields.<uuid> nested paths, in both filter and order. The bare custom_fields object is not itself filterable or orderable — ordering by a whole JSON object is meaningless, so only nested custom_fields.<uuid> paths are accepted.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Structured filter body. See the schema for the field allowlist, the operator allowlist, and value caps.

filter
object

Filter clause. Only the fields listed below may appear here — unknown fields are rejected with 422. Custom field values can also be addressed via custom_fields.<uuid> nested keys, where <uuid> is the custom field definition id.

Sort directive(s). Each entry is <field> ASC|DESC (direction defaults to ASC). Only filterable fields may be used here. custom_fields.<uuid> nested paths are orderable.

integer
0 to 200
Defaults to 50

Page size. Defaults to 50 when omitted. Maximum 200.

integer
≥ 1
Defaults to 1

1-based page number. Defaults to 1 when omitted. Pagination follows the same convention as every other paginated endpoint in the public API.

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Choose an example:
application/json