---
title: "Create Api Key"
method: POST
path: "/key"
tags: ["key"]
---

# Create Api Key

`POST /key`

## Create API Key

Create another API Key for the given API key.

**Headers:**
- `Authorization` (str): HTTP bearer - API token for user authentication.

**Args:**
- `body`: The request body containing the name and description of the new API key in a JSON object.

**Returns:**
- CreateKeyResponse : JSON object containing the user ID and API key info.

## Request body

- CreateKeyRequest
  - `name` string, required
  - `description` string

## Response `200`

Successful Response

- GetKeyResponse
  - `name` string, required
  - `description` string, nullable, required
  - `api_key` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/straker/apis/verify-api.md) · [All operations](https://skmtc.dev/straker/apis/verify-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/straker/verify-api/revisions/0d49b328bbbf/schema)
