Skip to main content
renekreijveld
May 14, 2024
Question

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

  • May 14, 2024
  • 2 replies
  • 71 views

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

Lucid product team
May 14, 2024

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.

renekreijveld
May 15, 2024

Okay thanks for clarifying.