---
title: "Create an API key"
method: POST
path: "/api-keys"
tags: ["API Keys"]
---

# Create an API key

`POST /api-keys`

Mints a fresh API key for the caller's organization. The plaintext key value is returned exactly once and never stored or returned again.

## Request body

- ApikeyAPIKeyCreateRequest
  - `name` string, required

## Response `201`

Created

- ApikeyAPIKeyCreateResponse
  - `created_at` string, date-time, required
  - `id` string, required
  - `key_value` string, required
  - `name` string, required

## Other responses

- `default` — Error

---

[API](https://skmtc.dev/axilioai/apis/axilio-api-2.md) · [All operations](https://skmtc.dev/axilioai/apis/axilio-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/axilioai/axilio-api-2/revisions/d7ecf9466d6d/schema)
