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

# Create Api Key

`POST /api-keys`

## Request

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

Create a new API key.  The raw key is returned ONCE.

## Query parameters

- `token` string, nullable

## Headers

- `authorization` string, nullable
- `x-twiddy-chatbot-token` string, nullable

## Request body

- CreateApiKeyRequest
  - `name` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/palisade-run/apis/twiddy-chatbot-api.md) - [All operations](https://skmtc.dev/palisade-run/apis/twiddy-chatbot-api/llms.txt) - [OpenAPI document](https://skmtc.dev/palisade-run/apis/twiddy-chatbot-api/revisions/80ab7d8068c0?raw)
