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

# Create Api Key

`POST /api/v1/auth/keys`

## Request

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

Generate new API key for an existing user account.

Users can have multiple API keys (for different environments, rotation, etc.).
Account must be created first via /auth/signup.

## Headers

- `Authorization` string, nullable

## Request body

- CreateAPIKeyRequest: Request to create a new API key.
  - `tier` 'demo' | 'free' | 'starter' | 'professional' | 'enterprise' | 'government': API access tiers with associated limits.

## Response `201`

Successful Response

- APIKeyResponse: API key response. SECURITY: Full key is only returned once on creation. Subsequent requests show only the prefix (first 16 chars).
  - `key_id` string, uuid, required
  - `key_prefix` string, required: First 16 chars of key (for identification)
  - `full_key` string, nullable: Full API key - ONLY returned on creation, store securely!
  - `tier` 'demo' | 'free' | 'starter' | 'professional' | 'enterprise' | 'government', required: API access tiers with associated limits.
  - `status` string, required
  - `created_at` string, date-time, required
  - `last_used_at` string, date-time, nullable, required
  - `total_requests` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/bellatorsi/apis/bellator-schedule-intelligence-apis.md) · [All operations](https://skmtc.dev/bellatorsi/apis/bellator-schedule-intelligence-apis/llms.txt) · [OpenAPI document](https://skmtc.dev/bellatorsi/apis/bellator-schedule-intelligence-apis/revisions/03e7b786e43b?raw)
