Skip to main content
POST
Create document

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

version
enum<string>
default:v2
required

The API version to use.

Available options:
v1,
v2
category
integer
required

Query Parameters

include
enum<string>
Available options:
image

Body

application/json
name
string
required

The name of the document.

Maximum string length: 255
content
string
required

The document content. Supports HTML.

Maximum string length: 65535
author_id
integer

The ID of the user who authored this document.

description
string | null

A description of the document. Supports HTML.

Maximum string length: 65535

Response

OK

data
DocumentResource · object