Endpoint
Query Parameters
The page number to retrieve. Defaults to
1. Use this alongside per_page to paginate through large result sets.The number of pages to return per response. Defaults to
20. Maximum value is 100.The field to sort results by. Accepted values are
updated_at (default), created_at, and title.The sort direction. Accepted values are
desc (default) and asc.A search string to filter pages by title. Returns all pages whose title contains the provided string (case-insensitive).
Request Example
Response
A successful request returns a200 OK status and a JSON object containing a data array of page objects along with pagination metadata.
Response Fields
An array of page objects. Each object represents a single page in your workspace.
The total number of pages across all pages of results. Use this to calculate the total number of result pages.
The current page number returned in this response.
The number of results per page used for this response.
Response Example
Pagination
When the total number of pages exceeds yourper_page value, iterate through results by incrementing the page parameter. You can determine the total number of result pages by dividing total by per_page and rounding up.
If you request a page number beyond the available results, the API returns a
200 OK with an empty data array rather than a 404 error.