Skip to main content
POST
Create a page or spreadsheet

Authorizations

Authorization
string
header
required

Bearer token: a Platform API Key (format: ak_live::) or a Personal Access Token (format: rgo-...). PATs always act as the token owner.

Body

application/json
kind
enum<string>
required
Available options:
document,
spreadsheet
title
string
required
Maximum string length: 200
contactId
string<uuid> | null

CRM contact the document is about (omit/null for none).

markdown
string

Fill the new page with this Markdown (headings, lists, checklists, quotes, code, tables, links). Pages only.

Maximum string length: 500000
folderId
string | null

Library folder to create it in (omit/null for root).

parentDocumentId
string | null

Page to nest the new document inside (omit/null for root).

Response

id
string
required
title
string
required
kind
enum<string>
required
Available options:
document,
spreadsheet
parentDocumentId
string | null
required
contactId
string<uuid> | null
required

The CRM contact the document is linked to.