Skip to main content
POST
Request Access Token

Body

application/x-www-form-urlencoded

The input parameters required for requesting an access token.

grant_type
enum<string>
required

The grant type. Must be urn:ietf:params:oauth:grant-type:device_code.

Available options:
urn:ietf:params:oauth:grant-type:device_code
Example:

"urn:ietf:params:oauth:grant-type:device_code"

client_id
string
required

The same client ID you sent to Request Device Code.

Example:

"9f3c2a1e-6b7d-4e8f-a2c4-5d6e7f8a9b0c"

device_code
string
required

The device_code from Request Device Code.

Example:

"def50200a1b2c3d4e5f6"

Response

Successful request.

token_type
string

Always Bearer.

Example:

"Bearer"

expires_in
integer

Seconds until the access token expires.

Example:

900

access_token
string

Access token to send as a Bearer token.

Example:

"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiI5ZjNjMmExZSJ9.c2lnbmF0dXJl"