Create Document
Creates a new document for the requesting user, with the specified title. It supports only User token type.
Copy Document
A document can be copied via the Create Document endpoint. To do so, include the documentId of the desired document to be copied as the template parameter. Note that a document's collaborator permissions are not copied. It supports only User token type.
Import Document
Imports an external non-Lucid file as a new document within Lucid. The file contents and type must be provided within form-data, with the supported types listed in the below chart. It supports only User token type.
This endpoint has a per account rate limit of 50 requests per minute.
Document Creation Location for Create Endpoint
When there is no parent
field on the request, the new document will be created in a default location depending on the authorizing token's scopes. If the token authorizing the request uses one of the
document.app
scopes, then the document will be created in an
app-specific folder
. If one of the document.content
scopes is used, the document will be created in the user's My Documents folder. If both types of scopes are authorized on the token, the document.content
behavior will take priority and the document will be created in the user's My Documents folder.
Valid Import Types for Import Endpoint
Vendor | Extension | Type | Products |
---|---|---|---|
standard (JSON) | .lucid | x-application/vnd.lucid.standardImport | Lucidchart/Lucidspark |
draw.io | .draw.io .xml | x-application/vnd.lucid.drawio | Lucidchart |
visio | .vsdx .vdx | x-application/vnd.lucid.visio | Lucidchart |
gliffy | .gliffy .gon .gxml | x-application/vnd.lucid.gliffy | Lucidchart |
board | x-application/vnd.lucid.board | Lucidspark |
Important
The
board
import type only accepts pdfs that are exports of digital whiteboards.
Theboard
import type can only be authorized by users with a Lucidspark Enterprise license.
Theboard
import type is experimental and importing the same board may produce varying results over time.
For more information on the
standard
import type, see our extensive documentation here.