GuidesDownloadsDownload Shared Link
Edit this page

Download Shared Link

Download Shared Link

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

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

cURL
curl -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" \
     -L

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