---
title: "Claim a device login ticket"
method: POST
path: "/login/device/claim"
---

# Claim a device login ticket

`POST /login/device/claim`

Claims a device login ticket code for the authenticated user.

## Request body

- ClaimDeviceLoginTicketParams
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `refresh_token` string, required — The refresh token for the session to delegate to the device.
  - `user_code` string, required — The user code to claim.

## Response `200`

OK

- ClaimDeviceLoginTicketResponse
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `claimed` boolean, required — Whether the code was successfully claimed.

## Other responses

- `default` — Error

---

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