Skip to content
Last updated

title: Validate Token keywords:

  • validate token
  • get
  • validate
  • token

Validate current authentication token.

GEThttps://api.aitronos.com/v1/auth/validate

Returns

is_valid boolean

Whether the token is valid

error string or null

Error message if invalid

requires_reconnect boolean or null

Whether re-authentication is required

cURL
curl -X GET "https://api.aitronos.com/v1/auth/validate" \
  -H "X-API-Key: $FREDDY_API_KEY"

Response:

200 OK
{
  "is_valid": true,
  "error": "example_error",
  "requires_reconnect": false
}