POST
/
docs

Authorizations

Authorization
string
headerrequired

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

Body

application/json
title
string
required

The title of the document.

html
string

The HTML content the document can be pre-filled with.

path
string
default: ~

The location of the document in the API key user's folder structure. The path is equal to the URL in Lex of the folder, for example the home folder is https://lex.page/~ and a subfolder might be https://lex.page/~/my-folder.

Response

201 - application/json
uuid
string

The unique identifier of the created document.