API Documentation
Pagination in Bolna API
Learn how to use pagination in Bolna Voice AI APIs using page_number
and page_size
to fetch results efficiently and build scalable workflows.
The endpoints also support pagination using the page_number
and page_size
query parameters. This allows you to fetch large sets of results in smaller, manageable chunks.
Query Parameters
page_number
(integer, optional): The page of results to retrieve. Defaults to1
. The first page starts at1
.page_size
(integer, optional): The number of results per page. Defaults to20
. You can request up to50
results per page.
How it works
The API uses offset-based pagination under the hood. For example:
page_number | page_size | Returned records |
---|---|---|
1 | 10 | Records 1–10 |
2 | 10 | Records 11–20 |
3 | 5 | Records 11–15 |
Example Request
Tips
- Use
has_more
to determine if you should fetch the next page. - Combine pagination with filters supported in the API to narrow results efficiently.