Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,076
Community Members
 
Community Events
165
Community Groups

Is there any URL to get all users in confluence by using API?

Need to get users list using API. 

1 answer

0 votes
Phill Fox Community Leader Apr 26, 2022

Hi @Dinesh 

 

You can review the API calls for Confluence users at https://developer.atlassian.com/cloud/confluence/rest/api-group-users/#api-group-users

You will notice there is not a API in that set that returns a list of users for this you need to think laterally and use the groups of members. Assuming you have used the default group confluence-users this will provide you with a list of all users and the API to get this is described at https://developer.atlassian.com/cloud/confluence/rest/api-group-group/#api-wiki-rest-api-group-groupname-get. Notice that get group members is deprecated and replaced with get group. 

 

Phill

After providing all fields, Still getting 404 error.

Phill Fox Community Leader May 04, 2022

@Dinesh 

If you are getting a 404 error that sounds like you are not calling the correct url with the correct authentication. I would go back to a simpler API call and check that is working first before moving on to one with multiple parameters. 

Suggest an answer

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

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

146 views 1 3
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