Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.circuit.org/llms.txt

Use this file to discover all available pages before exploring further.

Once you have obtained an API auth token, validate it to ensure authenticated access. Endpoint: POST /auth/validate Request
BodyDescription
token: stringUser’s API auth token acquired from authentication
cURL Example
curl -X POST "https://api.circuit.org/v1/auth/validate"    -H "Content-Type: application/json"    -d '{
    "token": "api_auth_token"
  }'
Response
Valid API Auth Token
{
  token: string;
  isValid: boolean; // true
  type: string;
  credentialId: string;
  username: string;
  userId: number;
  expiresAt: number;
}
Invalid API Auth Token
{
  token: string;
  isValid: boolean; // false
}