Skip to main content
POST
Exchange OAuth Code
Exchanges a GitHub OAuth authorization code for an access token.

Body

string
required
The authorization code received from the OAuth callback.

Response

Returns the GitHub access token response.
string
GitHub access token.
string
Token type (usually bearer).
string
Granted OAuth scopes.