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

# Create Key

`POST /users/me/api-keys`

## Request

- Base URL: `https://api.xeorank.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xeorank.com/users/me/api-keys`
- Auth: API key in header `X-Agent-Key`

## Query parameters

- `email` string, required

## Request body

- CreateKeyRequest
  - `name` string

## Response `201`

Successful Response

- ApiKeyCreated
  - `id` string, required
  - `key_prefix` string, required
  - `name` string, required
  - `raw_key` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xeorank/apis/seo-intelligence-engine.md) · [All operations](https://skmtc.dev/xeorank/apis/seo-intelligence-engine/llms.txt) · [OpenAPI document](https://skmtc.dev/xeorank/apis/seo-intelligence-engine/revisions/449a3fd73454?raw)
