---
title: "Validate Api Key Endpoint"
method: POST
path: "/admin/api-keys/validate"
tags: ["API Keys"]
---

# Validate Api Key Endpoint

`POST /admin/api-keys/validate`

## Request

- Base URL: `https://developer.claimmind.life` (the document declares no server; this is the origin it was published from)
- URL: `https://developer.claimmind.life/admin/api-keys/validate`
- Auth: none declared

Validate an API key (for testing purposes).
This endpoint is for admin testing/debugging only.

## Request body

- APIKeyValidateRequest: Request schema for validating an API key.
  - `api_key` string, required: API key to validate

## Response `200`

Successful Response

- APIKeyValidateResponse: Response schema for API key validation.
  - `valid` boolean, required: Whether the API key is valid
  - `key_id` integer, nullable: Key ID if valid
  - `organization_id` string, nullable: Organization ID if valid
  - `scopes` string[], nullable: Scopes if valid
  - `status` string, nullable: Key status if valid
  - `message` string, nullable: Error message if invalid

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/claimmind/apis/claimmind-open-api-service.md) - [All operations](https://skmtc.dev/claimmind/apis/claimmind-open-api-service/llms.txt) - [OpenAPI document](https://skmtc.dev/claimmind/apis/claimmind-open-api-service/revisions/ee8bfbeadb8a?raw)
