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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
edwin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jun 05, 2018 • edited

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.
Move Work Forward
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jul 23, 2018

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 @Doc Gen ,

 

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.

0 votes
Move Work Forward
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Feb 02, 2020

I found another way @Doc Gen ,

 

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
AUG Leaders

Atlassian Community Events