Pagination
List endpoints that return multiple items support pagination.
Request parameters
You can control pagination using the following optional query parameters:
skip(optional): Number of items to skip (offset). Default: 0limit(optional): Maximum number of items to return per page. Default: 10
Navigation methods
You can navigate through pages using either:
- Navigation links: Use the URLs provided in the
_linksobject (recommended) - Manual parameters: Construct your own URLs using
skipandlimitquery parameters
Response structure
Paginated responses include the following fields:
total_count: Total number of items availableskip: Number of items skipped (offset)limit: Maximum number of items returned per pagedata: Array of items for the current page_links: Navigation links object containing:self: Link to the current pagenext: Link to the next page (if available)previous: Link to the previous page (if available)
{
"total_count": 42,
"skip": 10,
"limit": 10,
"data": [
{
"id": "iatp_tkoi5db4hryu5cei5vwoabr7we",
"status": "checks_in_progress",
"created_on": "2017-07-21T17:32:28Z"
...
}
],
"_links": {
"self": {
"href": "https://api.ubble.ai/v2/identity-verifications/idv_xxx/attempts"
},
"next": {
"href": "https://api.ubble.ai/v2/identity-verifications/idv_xxx/attempts?skip=20&limit=10"
},
"previous": {
"href": "https://api.ubble.ai/v2/identity-verifications/idv_xxx/attempts?skip=0&limit=10"
}
}
}