Skip to main content
Question

In the BOX API what is the default expiration for shared links?

  • May 21, 2025
  • 1 reply
  • 22 views

Forum|alt.badge.img


 

The link above does not mention anything about when the link will expire if you omit the unshared_at parmeter. Does this imply indefinite? 

 

1 reply

Forum|alt.badge.img

 You are correct. If you don't specify a value for the unshared_at parameter, the shared link does not expire. 

 

In the JSON response for a successful call to the Create Shared Link endpoint, it will return a Shared Link object. The Shared Link object describes attributes, such as url and access type. If no value is passed for the unshared_at parameter, one of the attributes on the Shared Link object will be "unshared_at": null. The null value for "unshared_at" means that shared link does not have an expiration time.