Skip to main content
GET
Poll device code status

Path Parameters

code
string
required

The device code to check the status of

Minimum string length: 1
Example:

"ABCD1234"

Response

Default Response

status
enum<string>
required

Current status of the device code. pending - waiting for user action, approved - user approved and token is included, denied - user explicitly rejected the request, expired - code has expired

Available options:
pending,
approved,
denied,
expired
Example:

"pending"

token
string

The API key token, only present when status is approved. This is the only time the token is returned - store it securely

Example:

"svl_abc123..."