Skip to main content
POST
Validate API Key

Endpoint

Authentication

Authorization
string
required
Outlit API key using the Bearer ok_... format.

Request Body

No request body is required when validating the API key from the Authorization header.

Example

Success Response

valid
boolean
Whether the supplied API key is active and accepted.
organizationId
string
Organization associated with the API key.
createdById
string | null
User that created the API key, when available.

Error Responses

Invalid or disabled keys return 401:
Malformed validation requests return 400. Server-side validation failures return 500.