Get Document
Retrieves information about the requested document. Requires at least read only access to the requested document. It supports both Account and User token types.
Export Document
Exports a given document in a specified image format. Requires at least read only access to the requested document. It supports only User token type.
Export endpoint has a per account rate limit of 75 requests per 5 seconds.
Valid Access Token Types
Account (Only for Get endpoint)
Valid Access Scopes
lucidchart.document.content:readonly
lucidchart.document.app.picker:readonly
lucidchart.document.app.folder
lucidscale.document.content:readonly
lucidscale.document.app.picker:readonly
lucidscale.document.app.folder
lucidspark.document.content:readonly
lucidspark.document.app.picker:readonly
lucidspark.document.app.folder
The document owner information is only returned if the requesting user has view access and the document is unpublished. If the document is published, the user must be at least a collaborator on the document. If the document is owned by a user, information about the user is returned. If the document is in an enclosing project/team folder, information about the account is returned instead.
When exporting an image that is too large, the resolution of the image may be scaled down automatically to allow for performant API requests.
400Bad Request. More than one page and/or pageId was provided for export.
403Forbidden. The app making the request does not have permission to the document, or if the document has been deleted or does not exist.
404Not Found. The specified page or pageID could not be found for export.
406Not Acceptable. The specified image type is not supported for export.
429Too Many Requests. If the account makes more than 75 requests in 5 seconds.