Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Get list of all groups for Confluence

Hi,

 

I am trying to create a developer app for Confluence cloud. I am getting the error 'Unauthorized' when I try to call the get groups api. Heres the list of steps I followed - 

 

1) Create an app on developer.atlassian.com. Configure OAuth3.0 and configure confluence for it. Add ALL confluence scopes.

2) Get the authorization code while being logged in to an org admin account (for a new test site I created on a free plan) and the access token

3) Use the access token to get the site id (https://api.atlassian.com/oauth/token/accessible-resources)

4) Call the API to get groups  - https://api.atlassian.com/ex/confluence/<cloud-id>/wiki/rest/api/group

 

I am able to list the spaces this way, but not the groups. Can someone please help?

1 answer

Is there any step I am missing here?

1) Assign some extra permissions to the app above?

2) Publish the app on Developer Service Desk?

3) Create a Connect app instead?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence Cloud

Share your Confluence Cloud experience for a chance to win $500!

Take our 5-minute survey to win a $500 Visa gift card! Are you currently using Confluence Cloud? We want to hear from you! Fill out this quick survey about your Confluence Cloud experience so we ...

658 views 7 19
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you