Skip to main content
POST
Create document

Authorizations

X-API-Key
string
header
required

API Key (starts with ak_...)

Body

application/json
projectId
string
required

Project ID to create the document in

title
string
required

Document title

Example:

"My Document"

description
string
Example:

"Document description"

content
object

Initial document content following the Autype document JSON schema. If omitted, a default document is created.

Response

Document created

id
string
required

Document ID

title
string
required

Document title

projectId
string
required

Project ID the document belongs to

createdAt
string<date-time>
required
updatedAt
string<date-time>
required
description
object | null

Document description