API Documentation
Create a Document
Creates a new document
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Document to create
The title of the document.
The HTML content the document can be pre-filled with.
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
Created
The unique identifier of the created document.