---
title: "Request Api Key"
method: POST
path: "/request-api-key"
---

# Request Api Key

`POST /request-api-key`

Mint an API key for the given email, email a copy, and return it so the
web form can show it immediately. Unauthenticated by design — this is how
you GET a key — but rate-limited per email and per IP to curb abuse.

## Request body

- ApiKeyRequest — The web form posts just an email; that's all we need to mint a key.
  - `email` string, required

## Response `200`

Successful Response

- ApiKeyResponse
  - `api_key` string, required
  - `email` string, required
  - `emailed` boolean, required
  - `env_var` string

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/humanbaselines/apis/human-crash-baselines-api.md) · [All operations](https://skmtc.net/humanbaselines/apis/human-crash-baselines-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/humanbaselines/human-crash-baselines-api/revisions/58c371840f69/schema)
