List Pages
Returns a list of pages for a site.
Authentication
x-api-keystring
API key authentication. Accepts either:
- App API key (e.g. sk_eczMHVBY9fV6GYFhvs53qcnxq7yptlXL3ABKOZtn6dQ)
- Site API key (UUID format, e.g. 550e8400-e29b-41d4-a716-446655440000)
Query parameters
siteId
The site ID to list pages from.
limit
The maximum number of pages to return.
startingAfter
The pagination cursor. This is used to indicate what ID to list from.
pathPrefix
The filter that limits pages to only those with a pathname that begins with this value.
sortBy
The field to sort pages by.
Allowed values:
sortDirection
The sort direction.
Allowed values:
includeOffline
The flag that determines whether to include offline pages in the results.
Allowed values:
locale
The locale code to filter pages by.
versionRef
The version reference to retrieve pages from. Defaults to `ref:draft` if not provided.
Supported formats:
- `ref:draft` - Draft/working version
- `ref:live` - Live/published version
Allowed values:
Response
object
Allowed values:
data
hasMore
The flag that indicates whether there are more pages available.