is there a good example of creating shapes and lines using API ?
I am trying to create a diagram via code I am able to create a blank document and view the content of already created diagram via https://api.lucid.co/documents/:id/contents
is there a good example of creating shapes and lines using API ?
I am trying to create a diagram via code I am able to create a blank document and view the content of already created diagram via https://api.lucid.co/documents/:id/contents
Best answer by Ian Baenziger
I wanted to pass along that we released our production version of this endpoint!
We're calling it our Lucid Standard Import. To use it, you'd pass a .lucid file (format described here) into our Import Document API. Please feel free to post any follow up questions in this forum.
Note this REST API endpoint allows for an app/script to create a document with shapes/lines/etc. populated. We currently don’t have a REST API endpoint to update shapes/lines/etc. already on the canvas. This is something we intend to explore in 2024.
A Lucid account is required to interact with the Community, and your participation is subject to the Supplemental Lucid Community Terms. You may not participate in the Community if you are under age 18. You will be redirected to the Lucid app to log in.
A Lucid account is required to interact with the Community, and your participation is subject to the Supplemental Lucid Community Terms. You may not participate in the Community if you are under age 18. You will be redirected to the Lucid app to log in.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.