Skip to main content
Question

Obtaining box links en masse

  • May 22, 2025
  • 5 replies
  • 94 views

Forum|alt.badge.img

If you have several thousand folders and you want to create a shared link for all of them individually, is there any way to generate that in bulk? The ideal would be an excel with one column with all the folder names and a second column with all the associated shared links. 

 

Thanks for any help here!

5 replies

Forum|alt.badge.img

Hello Vienna, 

It is possible to create shared links in bulk via our API. I would recommend doing this with our CLI based on what you've described. Here is documentation for the command you'd want to use: https://github.com/box/boxcli/blob/master/docs/folders.md#box-foldersshare-id. This will allow you to create a .csv file with one column of all the folder IDs you'd like a shared link for and then you can export the results as a .csv so you have each generated shared link. 

box folders:share ID --bulk-file-path=INSERTPATHHERE --save-to-file-path=INSERTPATHHERE

Best,

Kourtney, Box Developer Advocate


Forum|alt.badge.img

Hi Kourtney,

Is there a way of getting Box links for files in bulk (about 100 files) without using API?  Unfortunaltey, I don't have API skills.

Thanks in advance.

Nick


Forum|alt.badge.img

Bumping this inquiry. Can we get box links in bulk without this API?


Forum|alt.badge.img

i tried this command but its not working, error Could not open input file. Im trying to create shared link for all files in a specific folders. and i want it to set preview only access. how to do it?

box folders:share ID --bulk-file-path=INSERTPATHHERE --save-to-file-path=INSERTPATHHERE

Forum|alt.badge.img

Also interested in this, preferably without going through the API