List public email addresses for the authenticated user
GET {{baseUrl}}/user/public_emails?per_page=30&page=1
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.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
per_page | number | Results per page (max 100) | |
page | number | Page number of the results to fetch. |
RESPONSES
status: OK
[{"email":"octocat@github.com","verified":true,"primary":true,"visibility":"public"}]