POST
/
docs
curl --request POST \
  --url https://lex.page/api/v1/docs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "<string>",
  "html": "<string>",
  "path": "~"
}'
{
  "uuid": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Document to create

The body is of type object.

Response

201
application/json

Created

The response is of type object.