filter[field][operator]=value.
Query Format
Example
Filter active customers created after January 2024:Operators by Field Type
Available operators depend on the field type. Each endpoint documents which fields are filterable.String Fields
| Operator | Description | Example |
|---|---|---|
eq | Exact match | filter[email][eq][email protected] |
ne | Not equal | filter[status][ne]=cancelled |
contains | Case-insensitive contains | filter[last_name][contains]=doe |
starts_with | Case-insensitive prefix | filter[email][starts_with]=john |
ends_with | Case-insensitive suffix | filter[email][ends_with][email protected] |
Number Fields
| Operator | Description | Example |
|---|---|---|
eq | Equal to | filter[amount][eq]=100 |
ne | Not equal | filter[amount][ne]=0 |
gt | Greater than | filter[amount][gt]=100 |
gte | Greater than or equal | filter[amount][gte]=100 |
lt | Less than | filter[amount][lt]=1000 |
lte | Less than or equal | filter[amount][lte]=1000 |
Date Fields
Dates must be in ISO 8601 format with timezone.| Operator | Description | Example |
|---|---|---|
gte | On or after | filter[created_at][gte]=2024-01-01T00:00:00Z |
lte | On or before | filter[created_at][lte]=2024-12-31T23:59:59Z |
Boolean Fields
| Operator | Description | Example |
|---|---|---|
eq | True or false | filter[is_verified][eq]=true |
Common Use Cases
Date Range
Get subscriptions created in January 2024:Multiple Values
Get customers with specific statuses:Text Search
Find customers with last name containing “Mueller”:Non-Terminated Records
Get active subscriptions (not terminated):Combined with Pagination
Filters work seamlessly with pagination. Keep the same filter parameters when paginating:Error Handling
Invalid filters return a400 Bad Request with details about the issue.