Skip to main content
Solved

Lucidspark Rest API

  • August 20, 2024
  • 5 replies
  • 228 views

Michel L
Forum|alt.badge.img+8

Did API exist on LucidSpark for developers ?

Best answer by jkrueger

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!

View original
Did this topic help you find an answer to your question?

Humas1985
Lucid Legend Level 9
Forum|alt.badge.img+21
  • Lucid Legend Level 9
  • August 20, 2024

Hi @Michel L 

Yes - LucidSpark provides APIs for developers, enabling them to integrate and interact with the platform.

Specifically, LucidSpark offers two APIs: the REST API and the Extension API, which can be utilized in a similar manner to Lucidchart, allowing for seamless integration and customization.

To learn more please navigate to this help article - Guides (lucid.co)

Hope this helps - Happy to help further!!
Thank you very much and have a great one!
Warm regards


Michel L
Forum|alt.badge.img+8

Hi @Humas1985 

Thank you for your reply,

So we just need to use lucidspark instead of lucidchart in the product field of the request isn’it?

Regards.


Humas1985
Lucid Legend Level 9
Forum|alt.badge.img+21
  • Lucid Legend Level 9
  • August 20, 2024

Hi @Michel L  - Yes, that's right.


Michel L
Forum|alt.badge.img+8
  • September 24, 2024

Hi @Humas1985 

In fact i’m sorry to tell you that you’re wrong.

If you want to get the json content of a lucidspark file using this endpoint:

https://api.lucid.co/documents/{id}/contents

There is an error. 

It seems that the scope for this endpoint does not support lucidspark.

Any suggestions.

Regards.


jkrueger
Forum|alt.badge.img+2
  • Lucid product team
  • September 24, 2024

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!


Reply