Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

REST API : get user details

Benoit Moraillon
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 18, 2025
Hello, I'm having trouble getting user details via the REST API, particularly for email or active status. I'm using Data Center version 8.5.22. Thanks in advance.
The expand parameter doesn't work.
Thanks.

1 answer

1 accepted

1 vote
Answer accepted
Benjamin
Community Champion
August 18, 2025

Hi @Benoit Moraillon 

Here's an example of how to use the expand parameter. 

 

GET /rest/api/user?username=exampleuser&expand=profilePicture,groupMemberships

 

Unfortunately, there isn't a whole lot of documentation with examples for confluence. I usually have confluence and Jira together, so the rest api on Jira can provide the email and active status by default. Another way, I get the information as well is querying the DB. 

 

Perhaps expand=status,e-mail will work?

Stefan Stadler
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.
August 19, 2025

expand=status works in our system. The email is the username in our case so all the information would be there. However, if the email is not the user name, there appears to be no such expandable field (at least not in our environment).

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events