Skip to main content

API keys

Create keys in the dashboard. Keys are shown once — store them securely.

PrefixEnvironment
kwery_live_Production
kwery_test_Development

Header (recommended)

curl "https://kwery-api.com/v1/limits" \
  -H "X-API-Key: kwery_live_YOUR_KEY"

Query parameter

curl "https://kwery-api.com/v1/limits?api_key=kwery_live_YOUR_KEY"

If both header and query param are present, the header wins.

Key states

StateHTTPMeaning
Valid200Key active, billing current
Revoked401Key deleted in dashboard
Paused403Past-due payment — update billing

Security practices

  • Never commit keys to git or expose them in client-side browser code
  • Use separate live and test keys per environment
  • Rotate keys periodically from the dashboard