API · Device login
Which client a pending user code belongs to, for the approval page.
GET /v1/device/lookup
| Request | GET /v1/device/lookup |
| Operation id | device.lookup |
| Cost | Free |
| Auth | Dashboard session: Authorization: Bearer <session_token>. API keys are refused. |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
user_code | string | yes |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | The pending login. | |
401 | Not signed in. | Error |
404 | No pending login with that code. | Error |
Errors use one shape everywhere; see Errors for every code and what to do.