Skip to main content
Question

Shared link to a specific version

  • May 21, 2025
  • 3 replies
  • 48 views

Forum|alt.badge.img

Hello!

 

I was wondering if it's possible to have a different shared link for multiple version of the same.(I.E one shared link per version)

 

Thanks

3 replies

Forum|alt.badge.img

Hello ,

shared links are tight to the document, not to versions, so when you create a shared link it is used across all the new versions being generated.

 

If you create a document V1 and a shared link pointing to it, the user that has that link will access to the released version not to the one it was generated.

 

 

Thanks


Forum|alt.badge.img

Hi,   

Thanks for the quick reply! It makes sense,  but in that case, do you know if there is a way to get a static link for each version?

 

I need to support versioning in my app, and I now that I could get a download link for a specific version by making an API call to the Download endpoint.The problem with this is that it's non-static so I have to make a call every time I want to download, but I would be much simpler if I could store a link for each version. Do you know a way to do this?

 


Forum|alt.badge.img

Hello ,

 

I was looking at all the information available on the reference docs but I did not find anything useful on that sense. I would risk to say that there is no support for that. At least I only saw that it is possible to download different versions but links are linked 

 

I have done tests with the following URLs:

 

http://api.box.com/2.0/files/${"DOCUMENT"}?fields=expiring_embed_link&version=${"DOCUMENT_VERSION"}

 

http://api.box.com/2.0/files/${"DOCUMENT"}?fields=shared_link&version=${"DOCUMENT_VERSION"}

 

With no luck. So... I guess it is not possible. I could download it as you have done probably but nothing else.

 

Sorry. I can not help further. Hope somebody from BOX side can confirm my guess that this is not offered at the moment.

 

Thanks