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

# Create API key

`POST /auth/api-keys`

Creates a new API key for programmatic access. Only available for users authenticated via the UI (Privy). Previous active keys are automatically revoked.

## Response `201`

API key created successfully

- object
  - `keyId` string — Unique identifier for the API key
  - `apiKey` string — The API key value. Only shown once at creation time.
  - `createdAt` string, date-time — When the key was created

## Other responses

- `403` — API key management is only available via the UI

---

[API](https://skmtc.net/limitless-labs-group/apis/limitless-exchange-api.md) · [All operations](https://skmtc.net/limitless-labs-group/apis/limitless-exchange-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/limitless-labs-group/limitless-exchange-api/versions/f60847044e0d/schema)
