billing

Validate a raw API key

Public — the key under test is presented in the body, not as a Bearer token (primary consumer: the iOS unlock screen, before the user has a Bearer credential to use). Always returns 200 and never reveals why a key is invalid (revoked / not found / malformed), to prevent key enumeration.

post/v1/keys/validate

Request

  • Base URL: https://modelglass-api.vercel.app
  • URL: https://modelglass-api.vercel.app/v1/keys/validate
  • Auth: none required

Request body

keystring required

Response

Validity result.

oktrue required

Changes

No recorded changes to this operation across all 1 revision of this API.