Skip to main content
POST
Create a page

Authorizations

Authorization
string
header
required

A Custral API key, created in Settings → Developers → Applications, sent as Authorization: Bearer sk_…. The X-Api-Key header is also accepted and takes precedence. Use a secret key (sk_…) from your server; a publishable key (pk_…) may hold only objects:read and usage:write. Never expose a secret key in a browser.

Body

application/json
name
string
required
Maximum string length: 200
type
enum<string>
required
Available options:
document,
presentation,
whiteboard,
spreadsheet
sectionId
string

The section it goes in, from GET /v1/sections. With neither this nor parentId, the page goes in the key creator's Private pages.

parentId
string

A page to nest it under.

Response

200 - application/json

The page.

data
object
reqId
string

A per-request id (req_…). Quote it to support when reporting a problem.

Example:

"req_2a1f9c8e7b6d5"