Question

How to create a document with data in it based on a template?


Badge +3

Hi, I'm looking for a way to create a Lucidchart document based on a template and add my own data to it. I managed to create a document based on a template with the POST https://api.lucid.co/documents endpoint. I cannot add my own data however, as this doesn't seem to be supported by that endpoint.

Another route could be to use the Import documents endpoint but then I cannot seem to specify the template to be used.

Or am I missing something here?


Comments

Userlevel 2
Badge

Hi renekreijveld,

As you said, there’s currently no supported way to import a document based on a template and add your own data. One possible workaround is to recreate the template using individual shapes in the import document endpoint, which allows importing data.

Badge +3

Okay thanks for clarifying.

Reply