Skip to main content

API Key Authentication

All requests to the Verilock API must include your API key in the Authorization header as a Bearer token.
Keep your API keys secure. Never expose keys in client-side code, public repositories, or browser requests. All API calls must originate from your backend server.
Required Headers

Key Prefixes

Use qi_test_ keys during development. They return simulated verification results and are free to use.

Rate Limiting

API requests are rate limited per API key. Current limits are returned in response headers:
Default rate limit is 120 requests/minute per API key. Contact us if you need higher limits for production workloads.

Authentication Errors

If authentication fails, the API returns a 401 status:
401 Unauthorized
Common causes:
  • Missing Authorization header or invalid Bearer token format
  • Invalid or revoked API key
  • Using a test key against production endpoints (or vice versa)