Skip to main content
Vyshnavy S
Sep 26, 2023 6:58 PM UTC
Solved

Can you use Lucid's API to export a diagram in JSON or XML?

Is it possible to export lucid chart diagram in xml or json format using Lucidchart export from third party system . 
I have an application which uses BPMN to map business processes I wanted to integrate Lucidchart as an option to import the BPMN I wanted to know if the LucidApis provide an option to export the diagrams from Lucid chart to third party in xml or json format. 

Addie
AddieAnswer
Sep 26, 2023 7:21 PM UTC

Hi Vyshnavy 

Thanks for posting in the community! There is not a way to export a LC document to JSON or XML using the API because there isn't a way to do this in the editor. However we are considering a new import and we'd love your feedback on this thread: JSON Import.

These are the file types for export that we currently have available:

Please review this Help Center article for additional information on exporting. Please comment in this thread to continue the conversation share your use case and thoughts on this potential feature!

Addie

Comments

Addie
AddieAnswer
Sep 26, 2023 7:21 PM UTC

Hi Vyshnavy 

Thanks for posting in the community! There is not a way to export a LC document to JSON or XML using the API because there isn't a way to do this in the editor. However we are considering a new import and we'd love your feedback on this thread: JSON Import.

These are the file types for export that we currently have available:

Please review this Help Center article for additional information on exporting. Please comment in this thread to continue the conversation share your use case and thoughts on this potential feature!

Translate
Addie
Vyshnavy S
Sep 27, 2023 11:42 AM UTC

Thank you for responding.
I have a following query 
Is there a way to export LC diagram specifically BPMN using an API which has shape lines and data arrangement information in csv or similar format ? 
Is there an inhouse API to do this or something similar which you can use to get Lucid diagrams information to a third-party application through REST call.

Translate
Richard Udell
Lucid support team
Sep 28, 2023 8:44 PM UTC

Hi Vyshnavy thank you for your questions. Our Document Contents endpoint returns a JSON that lists all elements on the canvas of any given document. For more information head over to the Lucid for Developers Community and check out this Tutorial. If you have any further questions about Lucid's APIs please feel free to comment on that Tutorial or create your own post in the Lucid for Developers Community!

 

Translate
Aug 1, 2025 11:02 AM UTC

Hey ​@Richard Udell , the tutorial link seem to be broken. Can you share the updated link? Thanks!

context: I’m trying to export the LC as a JSON file.

Translate
Richard Udell
Lucid support team
Aug 1, 2025 7:10 PM UTC

HI ​@santosh_singh, good catch! Thank you for pointing that out. The tutorial link has been fixed. :-)

Translate