Skip to content

Poll a CLI browser login

POST
/auth/device/token
curl --request POST \
--url https://api.krakenkey.io/auth/device/token \
--header 'Content-Type: application/json' \
--data '{ "deviceCode": "example" }'

Returns status pending, slow_down, denied or expired, or approved with a new API key. The key is returned once.

Media typeapplication/json
object
deviceCode
required

Device code from POST /auth/device/code

string
Examplegenerated
{
"deviceCode": "example"
}

Current login status