Skip to main content
Question

Create Folders via API

  • May 21, 2025
  • 4 replies
  • 66 views

Forum|alt.badge.img

Hi, I want to create folders via the API that are visible to all users within my Organisation.

 

 

I have been able to create folders using an "app user" (via JWT), but these folders are not visible to normal users.

 

I think I need to

1. Create an "All Users" group - containing all users.

2. Add that group as a collaborator to all folders created via the App Users


Or should I be creating this in another  way\user or with different permissions?

 

Thanks,

Greg

 

4 replies

Forum|alt.badge.img

 That sounds like a good approach. The other option would be to create the folders with a Service Account instead of an App User.


Forum|alt.badge.img

Thanks  I had a look at service accounts and the instructions for creating them seem unclear.

So I gave been trying to add a group to an App User Created Folder and am getting 403 errors for insufficent permissions.

 

error="insufficient_scope", error_description="The request requires higher privileges than provided by the access token."

 

I have seen some posts on correcting this but not found the definitive solution as yet, if someone could point me in the correct direction that would be great

 

 


Forum|alt.badge.img

Forum|alt.badge.img

I know I am late to the party here.

You do not really need to do this as written above. If you manually create a single folder that is publicly available or visible to all users, any folders you POST inside that folder using the API call will adopt the setting of the parent folder.