Authentication
Authenticate API requests with API keys, use IP allowlists and understand rate limits.
Authenticate every request with an API key. Create keys in your dashboard under API keys. The full key is shown only once — we store only a hash.
Sending the key
Use a Bearer token (recommended) or the X-Api-Key header:
curl https://kyckaro.in/api/v1/sessions \
-H "Authorization: Bearer kk_live_xxxxxxxxxxxxxxxx"
curl https://kyckaro.in/api/v1/sessions \
-H "X-Api-Key: kk_live_xxxxxxxxxxxxxxxx"
Never put API keys in mobile apps or browser code. Call the API from your server.
IP allowlist and expiry
For live keys, add your server IPs to the key's allowlist. Requests from other IPs are rejected with 403 ip_not_allowed. You can also set an expiry date and revoke keys at any time.
Rate limits
Each key is limited to your plan's requests per minute. Every response includes:
X-RateLimit-Limit: 60
X-RateLimit-Remaining: 57
When you exceed the limit you receive 429 rate_limited with a Retry-After header in seconds.
Account status
Keys work only while your account is approved and has an active plan. Suspended accounts receive 403 account_inactive.