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

# Create Api Key

`POST /api/v1/me/keys`

## Request

- Base URL: `https://api.ausschreibungsagenten.de` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ausschreibungsagenten.de/api/v1/me/keys`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (client credentials, token URL `/oauth/token`)

## Headers

- `authorization` string, nullable

## Request body

- ApiKeyCreateIn
  - `label` string, nullable

## Response `201`

Successful Response

- ApiKeyCreateOut
  - `id` string, required
  - `key_prefix` string, required
  - `label` string, nullable
  - `last_used_at` string, date-time, nullable
  - `revoked_at` string, date-time, nullable
  - `created_at` string, date-time, required
  - `api_key` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ausschreibungsagenten/apis/agentleads.md) · [All operations](https://skmtc.dev/ausschreibungsagenten/apis/agentleads/llms.txt) · [OpenAPI document](https://skmtc.dev/ausschreibungsagenten/apis/agentleads/revisions/9df42817c38e?raw)
