apicheats.dev Cheat sheet Raw .md
POST

Try POST /user/emails — GitHub API

GitHub playground

Add an email address for the authenticated user

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.github.com; the proxy stores and logs nothing about them.

Headers

Body application/json

1 body fields
  • emails · required · string[] — 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.