---
title: "Auth Request"
method: POST
path: "/api/platform/cli/auth-request"
---

# Auth Request

`POST /api/platform/cli/auth-request`

## Request

- Base URL: `https://api.ascendkit.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ascendkit.dev/api/platform/cli/auth-request`
- Auth: none declared

Create a pending CLI auth request. Called by the CLI.

## Request body

- AuthRequestBody
  - `deviceCode` string, required
  - `machineHostname` string, nullable
  - `machinePlatform` string, nullable
  - `cliVersion` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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