---
title: "Validate an API key"
method: POST
path: "/api/v1/validate_api_key"
---

# Validate an API key

`POST /api/v1/validate_api_key`

Checks whether an API key belongs to a registered user. Returns `valid: true` on success.

## Request body

- string

## Response `200`

Successful Response

- ValidateApiKeyResponse
  - `valid` boolean, required
  - `message` string, required

## Other responses

- `422` — Validation Error

## Changes

> 11 revisions in range; 3 could not be searched.

- **2026-07-26** `653b9ca575a8` — 1 breaking, 2 info
  - the response's body type/format changed from ``/`` to `object`/`` for status `200`
  - added the required property `message` to the response with the `200` status
  - added the required property `valid` to the response with the `200` status

[Change history](https://skmtc.dev/optexity/apis/dashboard-backend-api/changes/api/v1/validate_api_key/post.md)

---

[API](https://skmtc.dev/optexity/apis/dashboard-backend-api.md) · [All operations](https://skmtc.dev/optexity/apis/dashboard-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/optexity/dashboard-backend-api/revisions/2e974096944a/schema)
