---
title: "Add an email address for the authenticated user"
method: POST
path: "/user/emails"
tags: ["users"]
---

# Add an email address for the authenticated user

`POST /user/emails`

This endpoint is accessible with the `user` scope.

## Request body

- union
  - object
    - `emails` string[], required — Adds one or more email addresses to your GitHub account. Must contain at least one email address. **Note:** Alternatively, you can pass a single email address or an `array` of emails addresses directly, but we recommend that you pass an object using the `emails` key.
  - string[]
  - string

## Response `201`

Response

- Email[]
  - `email` string, email, required
  - `primary` boolean, required
  - `verified` boolean, required
  - `visibility` string, nullable, required

## Other responses

- `304` — Not modified
- `401` — Requires authentication
- `403` — Forbidden
- `404` — Resource not found
- `422` — Validation failed, or the endpoint has been spammed.

---

[API](https://skmtc.net/github/apis/github-v3-rest-api-6.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-6/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-6/versions/15db3fa0759b/schema)
