/contacts/searchSearch contacts
Searches contacts by matching their attributes against filters in the request body. Use query to define a single filter or combine filters with AND and OR, and use pagination to retrieve results in pages. Timestamp and date filters are evaluated by calendar day in the workspace's timezone, and recently created contacts may take a few minutes to appear.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Contact search criteria, pagination settings, and optional sort order. The query field is required.
One documented failure
invalid_sort_orderInvalid sort order 'desc'. Must be one of: ascending, descending
One documented failure
unauthorizedAccess Token Invalid
A 400 is returned when query is missing or a filter, operator, value, or sort order is invalid; date fields do not support !=, >=, or <=, and filters allow at most two nesting levels and 15 filters per AND or OR group. A 401 is returned when the request is unauthorized. The query body field is required, and sort.order must be ascending or descending when supplied.