/oauth/token

After successful redirect from /user/authorize use this endpoint to exchange a code for an access_token

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

❗️

The Response on this endpoint has changed

If you have legacy API code, note that this response has changed. You will need to update your code accordingly.

The access_code field is no longer nested inside a data object in the response and is instead in the root of the response. This is more in accordance with examples provided in the OAuth2 specification.

📘

Need more Help?

For a thorough walkthrough of how to use this endpoint, check out Connecting to a GameWisp Channel

Form Data
string
required

The grant type of this request. Will be authorization_code or refresh_token depending on which is accompanying this request

string
required

Your application's client_id

string
required

Your application's client_secret

string
required

Your application's redirect_uri

string
required

The code obtained from the /oauth/authorize endpoint. Not required when using the refresh_token grant

string

The refresh_token received from a previous /token response. Required if grant_type is refresh_token

Response

Language
Credentials
Query
LoadingLoading…
Response
Choose an example:
application/json