Create Pages
This feature is in beta and may change. Requests return 403 until the feature flag is enabled for your site or workspace.
Creates up to 1000 pages, each like Create Page. The response has one result per page, in request order: the created page, or the error that kept it from being created. An error in one page does not keep the others from being created. Only an error in the request itself, such as an invalid body, rejects the whole batch.
The pages are created in one transaction.
The request body is limited to 500 KB, and a larger one is rejected with 413, so a request with element trees may hold fewer pages than that.
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)
Request
This endpoint expects an object.
siteId
The site ID to create the pages in.
pages
The pages to create, each like the body of Create Page.
Response
OR
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error