Skip to main content
Michel L
Aug 20, 2024 2:27 PM UTC
Solved

Lucidspark Rest API

Did API exist on LucidSpark for developers ?

jkrueger
jkruegerAnswer
Lucid product team
Sep 24, 2024 6:26 PM UTC

Hi @Michel L , 

You are correct. At this time, the GET Document Contents endpoint does not support Lucidspark boards.

You can get around this by exporting a Lucidspark board to Lucidchart.

There are two ways to export from Lucidspark to Lucidchart:

  1. ‘Export to Lucidchart’ in the document list menu

     

  2. Use the POST Copy Document endpoint with “product” : “lucidchart” and “template” : “<your Lucidspark document id>”. 

After a board is exported to Lucidchart, you could use GET Document Contents with the new Lucidchart document.

Hope this helps!

Comments

Michael B
Lucid product team
Oct 29, 2025 2:21 PM UTC

To confirm Michel’s response, there is not currently a way to modify the contents of a document via the Rest API. The extension API can be used for document modification, but that still expects a user interaction on the canvas.

 

We recognize the demand for programmatic modification of a document, but do not support that at this time.

Translate
Nov 9, 2025 10:06 PM UTC

Thanks ​@Michael B  and ​@Michel L very much appreciated.  If we return to my primary query, it was about whether there’s some way to not have to open the board in the same session as my app in order to get the extension started up.  Right now, to run any app, I have to do this, which is cumbersome. I want my users to be able to just stay in my website, not to have to click a menu item (to start the extension operating) on a board on lucidspark.com as they currently have to do.

Translate
Nov 9, 2025 10:08 PM UTC

​@lorienpratt 
https://developer.lucid.co/reference/getdocumentcontent

but you cannot modify the content of the document if it is what you want.

Yo can IFAIK do that only with developing an extension.

So you could : 

  Create an extension

  Open the document using Rest API

  Fire the extension.

Regards.


 

yes, but my understanding is that i can’t fire an extension programmatically, can I? Even if I’ve opened the doc via REST?

Translate
Michel L
Michel LAuthor
Nov 10, 2025 8:44 AM UTC

​@lorienpratt 😊

Translate
Michael B
Lucid product team
Nov 10, 2025 3:29 PM UTC

Unfortunately, extensions can not run while the app is in a iframe and there are not currently plans to try and find a solution.

Translate
Zuzia S
Lucid community team
Nov 19, 2025 12:55 PM UTC

Hi, just jumping in here to let you ​@Michel L know that I have removed your email from this thread to protect your privacy. If you'd like, you can send a private message to ​@lorienpratt directly on this platform. 

Cheers!

Translate