post
https://api.trakt.tv/oauth/device/code
Generate new codes to start the device authentication process. The device_code and interval will be used later to poll for the access_token. The user_code and verification_url should be presented to the user as mentioned in the flow steps above.
QR Code
You might consider generating a QR code for the user to easily scan on their mobile device. The QR code should be a URL that redirects to the verification_url and appends the user_code. For example, https://trakt.tv/activate/5055CC52 would load the Trakt hosted verification_url and pre-fill in the user_code.
JSON POST Data
| Key | Type | Value |
|---|---|---|
client_id * | string | Get this from your app settings. |
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…