Create a document

Add a new document to the space

Path parameters

spaceIdstringRequired

ID of space to return

Headers

AuthorizationstringRequired

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

X-Disable-Hooks"true"Required

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