Hi everyone,
I'm working on a Forge app for Confluence Cloud and need to check whether the current user is a space admin for a given space. I tried using the "/wiki/rest/api/space/{spaceKey}/permission"
endpoint with asApp()
but it always returns a 401 or 403 — even when tested via Postman using a valid app token. It looks like this endpoint is simply not accessible to Forge apps.
I also tried checking if the user belongs to any admin-related groups like confluence-administrators
, org-admins but that didn’t help either — group membership info is not consistently exposed or reliable in the API responses.
Is there any better, supported way to determine space admin rights from a Forge app? Just want to be sure I’m not missing something obvious.
Thanks!
Welcome to Atlassian community!
From the problem summary, I understand that you are working on a forge app to retrieve the space admin permissions.
Usually the 401 or 403 errors are related to authentication, you can refer to more information about retrieving space permissions via API here https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space-permissions/#api-spaces-id-permissions-get.
However, since this is related to the forge app you can raise a support request with our Developers directly here: https://developer.atlassian.com/support.
Hope this helps!
Best Regards,
Vishalakshi Narayanaswamy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.