Validate API key
API Keys
Validate API key
Checks whether a given API key is valid and active. Returns the associated user_id, org_id, and key status. No authentication is required on this endpoint — pass NONE for both headers.
POST
Validate API key
Headers
Bearer JWT for user-facing flows (Bearer eyJraWQ...), or the literal string NONE when authenticating via API key.
Example:
"Bearer eyJraWQ..."
API key for server-to-server flows, or the literal string NONE when authenticating via JWT.
Example:
"pcx_abc123_xxxx"
Body
application/json
Example:
"pcx_abc123_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"