Skip to main content
Question

Box API - Create User with folder?

  • May 22, 2025
  • 2 replies
  • 38 views

Forum|alt.badge.img

I found two separate API to create a user and create a folder. Then I have to use collaborate API to give folder access to a particular user. Is there a way where I can Create a user and create a folder to for user in a single API?

2 replies

Forum|alt.badge.img

Hi , thank you for asking. Right now this would require multiple API calls, as either of them might fail for different reasons.


Forum|alt.badge.img

Good afternoon ,

you want to create that folder for that specific user being the owner?

 

If that's the case, you can create the user, then use the "As-user" header and create the folder with the brand new user, that way you don't have to use the collaborate API.

 

Maybe that simplifies the process for you.

 

Thanks