Github API - Test Config

POST /applications/{client_id}/token
apps

OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use Basic Authentication to use this endpoint, where the username is the OAuth application client_id and the password is its client_secret. Invalid tokens will return 404 NOT FOUND.
Check a token

Arguments
key client-id

client-id [scalar]

The client ID of the GitHub app.

API:
Github Open API
(version: 1.1.4)

Returns
200 application/json authorization

authorization [object]

The authorization for an OAuth app, GitHub App, or a Personal Access Token.

Attributes
app 1918

created_at string

expires_at string

fingerprint string

hashed_token string

id integer

note string

note_url string

scopes string []

token string

token_last_eight string

updated_at string

url string

API:
Github Open API
(version: 1.1.4)
404 not_found

not_found [scalar]

Resource not found

API:
Github Open API
(version: 1.1.4)
422 validation_failed

validation_failed [scalar]

Validation failed, or the endpoint has been spammed.

API:
Github Open API
(version: 1.1.4)
API:
Github Open API
(version: 1.1.4)