Request Access Token
Changed onExchange a device_code for an access token once the user approves the request.
post/oauth/token
Request
- Base URLhttps://api.dashboard.knotapi.com
- URLhttps://api.dashboard.knotapi.com/oauth/token
- Authnone required
Request body application/x-www-form-urlencoded
Example request
{
"grant_type": "urn:ietf:params:oauth:grant-type:device_code",
"client_id": "9f3c2a1e-6b7d-4e8f-a2c4-5d6e7f8a9b0c",
"device_code": "def50200a1b2c3d4e5f6"
}Response
Successful request.
Example response
{
"token_type": "Bearer",
"expires_in": 900,
"access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiI5ZjNjMmExZSJ9.c2lnbmF0dXJl"
}Changes
- info
endpoint added
- info