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

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

Dinesh April 26, 2022

Need to get users list using API. 

1 answer

0 votes
Phill Fox
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 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

Dinesh April 26, 2022

After providing all fields, Still getting 404 error.

Phill Fox
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 4, 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
AUG Leaders

Atlassian Community Events