---
title: "Validate Api Key"
method: POST
path: "/internal/validate-key"
---

# Validate Api Key

`POST /internal/validate-key`

## Request

- Base URL: `https://api.specproof.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.specproof.ai/internal/validate-key`
- Auth: none declared

Validate an API key and return org info.
Used by MCP server to authenticate incoming requests.

## Request body

- ValidateKeyRequest
  - `api_key` string, required

## Response `200`

Successful Response

- ValidateKeyResponse
  - `valid` boolean, required
  - `org_id` string, nullable
  - `org_name` string, nullable
  - `tier` string, nullable
  - `error` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/specproof/apis/specproof-portal-api.md) · [All operations](https://skmtc.dev/specproof/apis/specproof-portal-api/llms.txt) · [OpenAPI document](https://skmtc.dev/specproof/apis/specproof-portal-api/revisions/228b03caa929?raw)
