Skip to main content
Question

Compatibility of 'Get Embed Link' API with shared links

  • May 22, 2025
  • 2 replies
  • 26 views

Forum|alt.badge.img

Hi,

 

Could I use 'Get Embed Link' API (https://developer.box.com/reference#get-embed-link) with shared links?

 

As far as I see the API only use the internal Box file id and there is no way to access previews of such files for external users or users who don't have access to the file inside the Box.

2 replies

Forum|alt.badge.img

Hi  ,

 

The get embed link will generate a unique URL based on a file ID, so the short answer is that you wouldn't add a shared URL to it because a unique embed link will be generated (kind of like a shared link).

 

The slightly longer answer is that if you want to have more of a shared link experience you can customize the URL with the appropriate configuration fields, specifically showDownload, showAnnotations, and by setting fields to expiring_embed_link. That will allow you to customize and control what information is shared / seen.

 

Hope that helps,

Jon


Forum|alt.badge.img

Thank you! It seems that access to content by 'emded_expiring_link' works without authorisation.