---
title: "Device Pending"
method: GET
path: "/v1/auth/device/pending"
tags: ["auth"]
---

# Device Pending

`GET /v1/auth/device/pending`

## Request

- Base URL: `https://api.sonenta.dev`
- URL: `https://api.sonenta.dev/v1/auth/device/pending`
- Auth: none declared

ACCOUNT-JWT. The dashboard /activate page fetches the pending request by the
user-typed code so it can show what (and from where) is being authorized.

## Query parameters

- `user_code` string, required

## Response `200`

Successful Response

- DevicePendingOut: Consent-screen detail (dashboard /activate). Lets the page show WHAT is being authorized before the user approves.
  - `user_code` string, required
  - `status` string, required
  - `requested_at` string, date-time, required
  - `expires_at` string, date-time, required
  - `ip` string, nullable
  - `user_agent` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/sonenta/apis/sonenta-api.md) · [All operations](https://skmtc.dev/sonenta/apis/sonenta-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sonenta/apis/sonenta-api/revisions/f853ea49fb05?raw)
