System API
Test Endpoint
GET /test
Simple endpoint to test API connectivity.
Response
{
"status": "ok",
"dbStatus": "connected"
}
Health Check
GET /health
Check system health and database connectivity.
Response
{
"status": "ok",
"dbStatus": "connected"
}
Verify Service Token
POST /auth/verifyServiceToken
Validates tokens for service-to-service communication.
Request Body
{
"token": "service-token-here"
}
Response
200 OK (if valid)
401 Unauthorized (if invalid)
Check Internal Token
POST /auth/checkInternalToken
Validates an internal system token.
Request Body
{
"token": "internal-token-here"
}
Response
{
"valid": true,
"service": "iam-service"
}