---
title: "Device Login"
method: POST
path: "/auth/device-login"
tags: ["Device Auth"]
---

# Device Login

`POST /auth/device-login`

Start a device login flow. Returns a code the user enters in the dashboard.

## Request body

- DeviceLoginRequest
  - `app_slug` string, required
  - `device_name` string, nullable
  - `requester_name` string, nullable

## Response `200`

Successful Response

- DeviceLoginResponse
  - `device_code` string, required
  - `login_url` string, required
  - `poll_interval` integer
  - `expires_in` integer

## Other responses

- `422` — Validation Error

---

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