When retrieving a list of items from an endpoint, you can page the results. In your query parameters you can specify:
| Property | Description |
|---|---|
offset |
Number of rows to be skipped |
limit |
Number of rows per page |
- The default offset is
0(skip zero rows). - The default limit is
50and the maximum is1000.
As an example, GET /contacts?offset=20&limit=10 would return the third page with, at most, 10 contacts.
In the response, you will be provided:
| Property | Description |
|---|---|
count |
Number of items in the complete list |
offset |
Requested rows to skip |
limit |
Requested rows per page |
hasMore |
Whether the list contains more items on following pages |
links |
Generated endpoints to navigate to different pages in the list, including self (the current page), prev (the previous page), and next (the next page) |
Sample Response:
{
"count": 37,
"offset": 20,
"limit": 50,
"hasMore": true,
"requestedFields": "*",
"items": [
{}
]
"links": {
"self": "/endpoint?offset=20&limit=10&requestedFields=*",
"prev": "/endpoint?offset=10&limit=10&requestedFields=*",
"next": "/endpoint?offset=30&limit=10&requestedFields=*"
}
}Related pages
WelcomeService Account UsersAuthenticationRate Limiting for PATsRequestsField SelectionLegacy vs. Custom ContactsBilling BasicsCustom Time and Expense CodesSyncing Billing ItemsWhy Use Partner IDs?Referencing Partner IDs In UrlsEligible Entities and ScopesWebhooksWebhook SubscriptionWebhook SecurityWebhook PayloadsBulk Data Workflow