users
List public email addresses for the authenticated user
Lists your publicly visible email address, which you can set with the Set primary email visibility for the authenticated user endpoint. This endpoint is accessible with the user:email scope.
get/user/public_emails
Query parameters
per_pageinteger
The number of results per page (max 100).
pageinteger
Page number of the results to fetch.
Response
Response
Example response
[
{
"email": "octocat@github.com",
"primary": true,
"verified": true,
"visibility": "public"
}
]