Skip to content

TokenRequest

View as Markdown

OAuth 2.0 token request (form or JSON).

Field Type Description
grant_type * urn:ietf:params:oauth:grant-type:device_code, refresh_token, authorization_code
client_id * string
device_code string
refresh_token string
code string
code_verifier string
redirect_uri string

* always present

{
"grant_type": "urn:ietf:params:oauth:grant-type:device_code",
"client_id": "string",
"device_code": "string",
"refresh_token": "string",
"code": "string",
"code_verifier": "string",
"redirect_uri": "string"
}