users
Add an email address for the authenticated user
OAuth app tokens and personal access tokens (classic) need the user scope to use this endpoint.
post/user/emails
Request body
Example request
{
"emails": [
"octocat@github.com",
"mona@github.com"
]
}Response
Response
Example response
[
{
"email": "octocat@github.com",
"primary": true,
"verified": true,
"visibility": "public"
}
]