Skip to main content

Hello!

I am working on integrations to Box and it appears that there is no way for us to explicitly define the Folder ID (either via. API or in UI).

Is this true?

If so, is this feature something that is on the roadmap for the Box team?

Not having the ability to do this will mean I need to query the applicable parent folder(s), cache every folder contained in the parent folders with their Name and Folder ID (there will be thousands of folders), and then reference that cache for every record to see if the folder already exists or if one needs to be created.

If we were able to define the Folder ID, I would be able to set the Folder ID to the unique ID in my source system to remove the need for all of this lookup. Because we don’t have the ability to do this, an integration process we thought would be doable is now raising performance concerns due to how heavy the process is.

The same issue and request for feature exists for Files in general. Being able to explicitly define the IDs would be extremely beneficial in integrating with Box


Hi ​@thinkingoutsidethe

Welcome to Box Community and we’re glad to assist!

 

To find a folder ID:

  1. Log into Box via browser.
  2. Navigate to the folder.
  3. Look at the URL; the folder ID is the numeric part at the end of the URL.

Alternatively, use search tools or reports:

For files, similar methods apply: searching by name or generating reports will show the File ID.

If you want to find these IDs programmatically or through admin tools, refer to Box support articles on generating reports or using API calls.

 

Hope it helps! Please let us know if you have questions.


Hi ​@Rona Box thank you for your response, I do understand how to get the Folder ID and those options, but I was hoping there might be a way for me to define what the Folder ID is.

For example, I use the API to create a folder or file. Within the API call, I am hoping for a way to define the ID.

i.e. I create a folder named “Example Box Folder for 789” via API, and in the API I set an “id” parameter so that the Folder ID is “789” instead of a default “123” value.

Can I get confirmation that this ability does not exist? The document suggests it does not, but would be very happy to be proven wrong. 

If it does not exist, then is there a plan to release this functionality in the future?


Reply