---
title: "Device Approve"
method: POST
path: "/auth/device-approve"
tags: ["Device Auth"]
---

# Device Approve

`POST /auth/device-approve`

Approve a device code from the dashboard. Generates a daemon JWT.

## Request body

- DeviceApproveRequest
  - `device_code` string, required
  - `user_key` string, nullable
  - `as_admin` boolean
  - `admin_email` string, nullable

## Response `200`

Successful Response

- DeviceApproveResponse
  - `success` boolean, required
  - `message` string, required

## Other responses

- `422` — Validation Error

## Changes

> 37 revisions in range; 1 not diffed.

- **2026-05-15** `acf933542bdd` — 1 info
  - added the new optional request property `admin_email`
- **2026-04-22** `a4bf4f3aaf15` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/hyperspell/apis/hyperspell-api/changes/auth/device-approve/post.md)

---

[API](https://skmtc.dev/hyperspell/apis/hyperspell-api.md) · [All operations](https://skmtc.dev/hyperspell/apis/hyperspell-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hyperspell/hyperspell-api/revisions/5721acd588e6/schema)
