Hi @Markeen
Lucidchart supports JSON imports but does not currently allow exporting diagrams to JSON.
For template automation, you will need to use the import feature or explore the API's "Document Contents" endpoint, but a straightforward export-to-JSON workflow is not available.
To learn more - Can you use Lucid chart api to export diagram in json or xml | Community
Hope this helps - Happy to help further!!
Thank you very much and have a great one!
Warm regards
HI @Humas1985 , do you have any more information of the Document Contents endpoint?
Hi @Markeen
Document Contents
For authoritative information on this endpoint, please refer to the official source. According to the documentation, the API path to retrieve a document's raw content is /documents/{documentId}/content.
Authentication via OAuth with the documents: read scope is required. The response format is JSON, containing the content of the diagram. It's worth noting, however, that while this endpoint provides raw internal data, it is not intended for reusable import JSON, but rather reflects Lucid's internal structure.
On top of things this article explores the possibility of programmatically defining or updating document contents using the REST AP - Create document contents via Rest API in Lucidchart | Community
Best Regards