Exchange a token

Exchange an OAuth authorization code or refresh token for an access token. Send the appropriate token request body; returns token details on success or a 400 response when the request cannot be processed.

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

Body

string
required

The client ID of the application.
You can find it in the application details here: https://trakt.tv/oauth/applications

string
required

The client secret of the application.
You can find it in the application details here: https://trakt.tv/oauth/applications

string
required

URI specified in your app settings.

string
required

The code received when trakt redirects the user back to the application.

string
required

Defines how an access token is obtained.

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json