Skip to main content
POST
Validate Api Key

Authorizations

Authorization
string
header
required

Pass an API key (prefixed lk_) or a JWT access token as a bearer token. Generate API keys in the dashboard at https://dashboard.lyceum.technology/api-keys.

Body

application/json

Request model for API key validation

api_key
string
required

Response

Successful Response

Response model for API key validation

valid
boolean
required
user_id
string | null
email
string | null
key_name
string | null
created_at
string<date-time> | null
expires_at
string<date-time> | null
last_used_at
string<date-time> | null