---
title: "Poll for device login tokens via WorkOS CLI auth"
method: POST
path: "/device-auth/tokens"
---

# Poll for device login tokens via WorkOS CLI auth

`POST /device-auth/tokens`

## Request body

- object
  - `deviceCode` string, required — Device code returned from initiate

## Response `200`

OK

- object
  - `status` 'pending' | 'success' | 'denied' | 'expired' | 'slow_down', required — Authentication status
  - `sealedSession` string — Sealed session for authenticating subsequent requests, present on success
  - `interval` number — Updated polling interval in seconds, present on slow_down

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/trunk/apis/trunk-apis.md) · [All operations](https://skmtc.net/trunk/apis/trunk-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/trunk/trunk-apis/versions/f7b911d8e24c/schema)
