The A11yRisk API uses API keys for CI/CD access. Keys are created in the dashboard and passed in an HTTP header on every request.
All API keys begin with ar_live_ followed by a random string. A key is shown in full only once — at creation time. If you lose it, revoke it and create a new one.
Pass the key in the X-API-Key header on every request. Do not pass it as a query parameter or in the request body.
curl https://api.a11yrisk.eu/v1/ci/scans/SCAN_ID \ -H "X-API-Key: ar_live_YOUR_KEY"
To rotate a key without downtime:
| Status | Meaning |
|---|---|
| 401 | Missing, malformed, or revoked key. |
| 403 | Account blocked. Contact support. |
| 429 | Rate limit exceeded. Retry after the Retry-After header value (seconds). |