Skip to main content
Jun 23, 2025 5:42 PM UTC
Solved

Export a list of all shapes and linked URLs via API

I’m looking for a way to export a list of all shapes that have the “Link To” option set as well as the list of URLs they are referencing via the api.  I’m using a Mac and when I highlight a shape and press “command K” I get a Like To, I set the Urls, but when I export the document via the API, there is no reference to the URL or which shapes have embedded urls.

Lucid product team
Jun 24, 2025 2:22 PM UTC

Hi Eric,

Unfortunately, there is currently no way to retrieve the URLs linked to shapes via the API. The fields that you can currently retrieve from the Document Contents endpoint can be found here.

Could you tell us any more about the workflow you’re building? That would help us as we consider adding support for this in the future.

Comments

tobi
Lucid Legend Level 3
Lucid Legend Level 3
Jun 24, 2025 6:35 AM UTC

Hey ​@EricG 

I have the same issue. I’m afraid the URL data isn’t exposed via API. The only ‘dirty’ workaround I kind of managed was downloading the PDF and then extracting the URLs :(

 

Please let me know if you find a better solution!

Translate
EricGAuthor
Jun 24, 2025 1:51 PM UTC

I was hoping to manipulate the data via the API, or at least extract the json file manipulate the links and repost.

 

Translate
Lucid product team
Jun 24, 2025 2:22 PM UTC

Hi Eric,

Unfortunately, there is currently no way to retrieve the URLs linked to shapes via the API. The fields that you can currently retrieve from the Document Contents endpoint can be found here.

Could you tell us any more about the workflow you’re building? That would help us as we consider adding support for this in the future.

Translate