---
title: "Create Key"
method: POST
path: "/api-keys"
---

# Create Key

`POST /api-keys`

## Request

- Base URL: `https://api.goodeye.dev/v1`
- URL: `https://api.goodeye.dev/v1/api-keys`
- Auth: none declared

Mint a new live API key for the caller.

## Request body

- CreateKeyIn: Request body for ``POST /v1/api-keys``.
  - `name` string, required

## Response `201`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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