Finding users in confluence cloud


#1

Hello,

I need to find users in confluence using the rest api, something like the picker api from jira: https://developer.atlassian.com/cloud/jira/platform/rest/v3/?utm_source=%2Fcloud%2Fjira%2Fplatform%2Frest&utm_medium=302#api-api-3-user-picker-get

or jira’s user search api: https://developer.atlassian.com/cloud/jira/platform/rest/v3/?utm_source=%2Fcloud%2Fjira%2Fplatform%2Frest&utm_medium=302#api-api-3-user-search-get

But I have been checking the documentation and trying the same calls with no success. Is there any api to search for users in confluence?

Thanks!


#2

Hello @inigo,

Sad to say there isn’t one available yet but this has been requested already and you can track (and vote for) it in CONFCLOUD-43384. In the meantime, depending on your use case, maybe Get group members API can help you out by passing a group like confluence-users? You have to do the searching through the result set though.

Hope this helps.
Ian


#3

Why can’t you use the search API? /rest/api/search?cql=type=user