Pagination
We use two parameters for pagination:takeis the number of items the API returns. The default is 50 and the max is 100.skipis the number of items the API skips. The default is 0.
take=75 and skip=350.
Here’s an example with the customer list:
datathe items you requestedmetathe contextual information (total number of items, number selected…)
Sorting
Some list endpoints support sorting results using thesort and order query parameters:
sortspecifies the field to sort by (e.g.,created_at,emitted_at)orderspecifies the sort direction:asc(ascending) ordesc(descending)
Not all list endpoints support sorting. Refer to each endpoint’s documentation to see which sort fields are available.
Filtering
Our API offers many filtering capabilities so you can always find what you’re looking for. Pass filters as query parameters using a common pattern.fieldName__operator=value
For instance:
GET /v1/customers?name__contains=instagramreturns all customers with the name containing instagramGET /v1/customers?id__in=123,456,789returns customers with ID equal to 123, 456, or 789
List of available operators
equals(or just<field>=xxx)notltltegtgtecontainsstartsWithendsWithinnotInisNullisNotNull

