---
title: "Check user API key validity"
method: POST
path: "/user-api-keys/check"
tags: ["API Keys"]
---

# Check user API key validity

`POST /user-api-keys/check`

Validate a user API key

## Request body

- object
  - `api_key` string, required

## Response `200`

Successful response

- object
  - `id` string, required
  - `description` string, required
  - `expires_at_millis` number
  - `manually_revoked_at_millis` number
  - `created_at_millis` number, required
  - `is_public` boolean, required
  - `value` object, required
    - `last_four` string, required
  - `type` 'user', required
  - `user_id` string, required — The ID of the user, or the special value `me` for the currently authenticated user

## Changes

- **2026-05-15** `f6aec844c9f2` — 1 warning
  - added the new `user` enum value to the `type` response property for the response status `200`

[Change history](https://skmtc.dev/hexclave/apis/hexclave-rest-api-3/changes/user-api-keys/check/post.md)

---

[API](https://skmtc.dev/hexclave/apis/hexclave-rest-api-3.md) · [All operations](https://skmtc.dev/hexclave/apis/hexclave-rest-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hexclave/hexclave-rest-api-3/revisions/3ced76bb7fd8/schema)
