Download Shared Link

Guides Downloads Download Shared Link
Edit this page

Download Shared Link

To download the file for a Shared Link, first determine the file for the link.

You cannot use the shared link to download folders. Create and download the ZIP archive instead.

Once the file ID has been determined, the file can be downloaded by passing the BoxAPI header to the API.

cURL
curl -i -L -X GET "https://api.box.com/2.0/files/12345/content" \
     -H "authorization: Bearer <ACCESS_TOKEN>" \
     -H "boxapi: shared_link=https://cloud.box.com/shared/static/gjasdasjhasd&shared_link_password=letmein" \

To get the Shared Link for an item the user must have at least viewer-level access to the item.