---
title: "Create Api Key"
method: POST
path: "/api/dashboard/keys"
tags: ["dashboard"]
---

# Create Api Key

`POST /api/dashboard/keys`

## Request

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

Create a new API key.

## Request body

- CreateApiKeyRequest
  - `name` string

## Response `200`

Successful Response

- CreateApiKeyResponse
  - `id` string, required
  - `key` string, required
  - `name` string, required
  - `message` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/stremai/apis/strem-ai.md) · [All operations](https://skmtc.dev/stremai/apis/strem-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/stremai/apis/strem-ai/revisions/160e5f136d48?raw)
