Create Document
Create a new Document from a predefined layout.
POST/v1/documents
Request Body
Content-Type: application/json
{
"layout": "lyt_2nulpOUb7F5JALgRaq3brb",
"name": "New Document"
}layout: string (required)
The Layout to use to create the document with. The layout must be marked as instanced.
name: string (required)
The name of the new document.
Success Response
200 Ok
{
"document": "doc_2JulpOVX1Vh7QXbSz1QY7u"
}document: string
The created document id.