Fetch private email from Github API #61718
-
Select Topic AreaQuestion BodyIs there any way we can fetch the email of the user which is not publicly visible email, rather an email from the Emails section of the user profile through the Graphql API? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 17 replies
This comment was marked as spam.
This comment was marked as spam.
-
@utkarsha-ubale-sp there is no field "emailAddresses" on object "user" You cannot get private email addresses, as they are private! |
Beta Was this translation helpful? Give feedback.
@utkarsha-ubale-sp there is no field "emailAddresses" on object "user"
You can see the availale fields on object 'user' in the docs here #user.
You cannot get private email addresses, as they are private!
The slight exception to this is it being possbe to view non-public emails of organization members that match an organization verified domain email address (as the email domain is verified as belonging to the orgnaization and private to an individual as such)