Add an email address for the authenticated user

POST {{baseUrl}}/user/emails

This endpoint is accessible with the user scope.

Request Body

{"emails"=>["<string>", "<string>"]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: Created

[{&quot;email&quot;:&quot;octocat@octocat.org&quot;,&quot;primary&quot;:false,&quot;verified&quot;:false,&quot;visibility&quot;:&quot;public&quot;},{&quot;email&quot;:&quot;octocat@github.com&quot;,&quot;primary&quot;:false,&quot;verified&quot;:false,&quot;visibility&quot;:null},{&quot;email&quot;:&quot;mona@github.com&quot;,&quot;primary&quot;:false,&quot;verified&quot;:false,&quot;visibility&quot;:null}]