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

# Create Key

`POST /api/auth/api-keys`

## Request

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

## Headers

- `X-Tenant-Id` integer, nullable

## Request body

- CreateKeyIn
  - `name` string

## Response `201`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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