---
title: "Create scoped sub-key"
method: POST
path: "/v1/keys"
tags: ["keys"]
---

# Create scoped sub-key

`POST /v1/keys`

## Request

- Base URL: `https://api.lithtrix.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.lithtrix.ai/v1/keys`
- Auth: none declared

Requires the **root** API key. Returns one-time ``api_key`` (same ``ltx_`` shape as registration).

## Headers

- `authorization` string, nullable

## Request body

- ScopedKeyCreate: Issue a scoped child key.
  - `scope` string, required: One of the Lithtrix key scopes.

## Response `201`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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