Integration routes authenticate with API Key only; no API Secret is required.
Invalid credentials
If the API Key is missing or invalid, the API returns 401 Unauthorized:"Missing X-API-Key header", "Invalid API key".
Suspended or inactive client
If your client is suspended or in onboarding, you will receive 403 Forbidden with details in thedetail field.
Fraud detection consent (Ley 1581)
Scoring routes (POST /score, POST /score/batch) require fraud_detection_consent=true configured for your client in Kairo Connect.
- There is no consent header for you to send.
- If consent was not granted, scoring returns 403 with:
"Fraud detection consent not granted for this client."
Rate limiting
Kairo Shield applies a per-minute request limit per API Key (configurable per client). Responses include:
If you exceed the limit, you receive 429 Too Many Requests with header
Retry-After: 60.