Skip to content

Poll for device authorization token

POST
/v1/device/token

CLI polls this endpoint to check if the user has approved the device code. Returns the API key on success.

object
device_code
required
string
>= 1 characters
grant_type
required
string
>= 1 characters

Response for status 200

object
apiKey
required
string
keyId
required
string
permissions
required
Array<string>
expiresAt
required
Any of:
string
keyName
required
Any of:
string