Skip to content

Fetch private email from Github API #61718

Discussion options

You must be logged in to vote

@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)

Replies: 2 comments 17 replies

This comment was marked as spam.

@dinesh-mishra-sp
Comment options

@nirav-gajera

This comment was marked as spam.

@utkarsha-ubale-sp
Comment options

@nirav-gajera

This comment was marked as spam.

@utkarsha-ubale-sp
Comment options

Comment options

You must be logged in to vote
6 replies
@byrneh
Comment options

@utkarsha-ubale-sp
Comment options

@byrneh
Comment options

@utkarsha-ubale-sp
Comment options

Answer selected by ghostinhershell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API and Webhooks Discussions related to GitHub's APIs or Webhooks Question Ask and answer questions about GitHub features and usage
5 participants