Skip to main content

Can anyone suggest the latest way to  get shared file Download url? I got next js 13  with react 18 project . There is no JS SDK currently so  using CDN v21.0.0. I need to get picked file download url from the file picker window and send it to the Back End to be downloaded there and fetch it then from different endpoint to my project. I tried some urls for that inside shared_link but it does not work as it should and seems like i need to do it through fetching it including access token with request . Thanks.

Some update. Managed to get that download url from fetching https://api.box.com/2.0/files/${file_id}/content , using access token in headers Authorisation


Reply