Create a document

POST

Add a new document to the space

Path parameters

spaceIdstringRequired

ID of space to return

Headers

X-Disable-Hooks"true"RequiredDefaults to true

Request

This endpoint expects an object.
titlestringRequired
bodystringRequired
treatmentslist of stringsOptional

Certain treatments will cause your Document to look or behave differently.

actionslist of objectsOptional

Response

This endpoint returns an object.
dataobject

A document (markdown components) belong to a space

Errors