Forums

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

help!!! question: use api get user email, return error

James Zheng
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!
September 22, 2025

1 answer

0 votes
Marc - Devoteam
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.
September 22, 2025

Hi @James Zheng 

Welcome to the community.

To get a users email address via the API, you can use the API calls:

  1. api-rest-api-3-user-search-get 
  2. api-rest-api-3-user-get (accountId required)
James Zheng
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!
September 22, 2025

thank for you reply

i have been used api-rest-api-3-user-search-get 

but if email didn't set anyone can see, The message which API returns does not contain an emailimage.png


image.png


thank you for your reply

Marc - Devoteam
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.
September 22, 2025

Hi @James Zheng 

Use the API call: https:://<instance-name>.atlassian.net/rest/api/3/user/search?query=<email-address> or <part-of-a-name>

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events