Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Is there a way to get all users list using Confluence Cloud REST API?

Is there a way to get all users list using confluence Cloud REST API?

https://developer.atlassian.com/cloud/confluence/rest/ 

2 answers

1 accepted

1 vote
Answer accepted

Hi @Evangelos Mantadakis,

Yes it is possible. 

  1. Start with a list of all groups in Confluence
  2. Loop through each group, making a request to Get group members
    /wiki/rest/api/group/{groupName}/member
  3. Save each result to a file and add a condition in the script that doesn't add the same user to the list again.

Hi.

 

I've got too many groups with this endpoint (including Jira groups).

 

So it is not clear how to get the Confluence related groups.

 

Would be nice to have an endpoint which can return all users

Hello @Evangelos Mantadakis / @Move Work Forward ,

Do you know of any other efficient way to get Confluence Users List via rest API other than iterating through all the groups and its members ?

Thanks,

Sheff

Hi @Shefali Grover ,

 

Sorry for the delayed response. I am not aware of any other way .

As far as I know, There is no other way of doing it using rest API.

I found another way @Shefali Grover ,

 

https://developer.atlassian.com/cloud/confluence/rest/#api-api-search-user-get

 

It is also returns App users and other garbage :( 

I have tried this call and it did not return all users. Be careful while using this rest api.

Suggest an answer

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

Confluence Bingo Round 3!

That’s right! Grandma’s back at it again, and this time she’s brought all her friends. In honor of Team '21, this Bingo round is dedicated to all things team-related, and the prizes are no exception....

1,766 views 29 20
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