Skip to main content
Question

Shared Link without expiration

  • May 22, 2025
  • 3 replies
  • 45 views

Forum|alt.badge.img

Hello,

 We have an integration with Box via API and one of our customers is complaining that when we create a new folder and get the shared link to the new folder there is an expiration to that link.

We are not setting the "unshared-at" parameters so I wanted to know if there is a default expiration that is set automatically? If so, how can we set the expiration to non without knowing of the user is Box paid user or not?

 

Thanks

3 replies

Forum|alt.badge.img

Hi ,

 

This is most likely an enterprise-wide content setting. If someone with admin access to your Box enterprise can go to the Enterprise settings content & sharing page (alternately from the admin console go to Enterprise Settings -> Content & Sharing), then scroll down the page until you get to the "Auto-Expiration" section. In that section you'll see options for when to auto-disable shared links. Most likely that's the culprit here.

 

- Jon


Forum|alt.badge.img

Thanks for the quick answer Jon.

So does this means that when I am using the API and calling the create shared link (and not specifying the 'unshared_at' param) I am not setting any expiration?

 

Thanks


Forum|alt.badge.img

Hi ,

 

That's correct, if no unshared_at parameter is set in the API then it'll use the default settings of the enterprise.

 

- Jon