Authentication Guide
All BotsKYC API requests require authentication using API keys managed through our Zuplo API gateway.
Getting Your API Key
Option 1: Self-Service Portal (Coming Soon)
Visit portal.botskyc.com to:
- Create your account
- Generate API keys
- Manage your subscription
- View usage analytics
Option 2: Contact Support
Email [email protected] to receive your API credentials.
Using Your API Key
Include your API key in the Authorization header of every request:
Code
Examples by Language
JavaScript/TypeScript
Code
Python
Code
cURL
Code
Security Best Practices
Store Credentials Securely
❌ Never do this:
Code
✅ Do this instead:
Code
Environment Variables
Create a .env file (and add to .gitignore):
Code
Load in Node.js:
Code
Load in Python:
Code
API Key Security Checklist
- ✅ Store keys in environment variables
- ✅ Add
.envto.gitignore - ✅ Rotate keys regularly
- ✅ Use different keys for development and production
- ✅ Restrict API key permissions to minimum required
- ✅ Monitor API key usage for anomalies
- ❌ Never commit keys to version control
- ❌ Never share keys via email or chat
- ❌ Never log API keys
Rate Limiting
API keys are subject to rate limits based on your subscription tier:
| Tier | Requests/Minute | Requests/Day | Burst Limit |
|---|---|---|---|
| Free | 10 | 100 | 20 |
| Starter | 100 | 1,000 | 200 |
| Professional | 1,000 | 10,000 | 2,000 |
| Enterprise | Custom | Custom | Custom |
Rate Limit Headers
Every API response includes rate limit information:
Code
Handling Rate Limits
When you exceed rate limits, you'll receive a 429 Too Many Requests response:
Code
Best practices:
Code
API Key Management
Rotating API Keys
To rotate your API key:
- Generate a new API key in the portal
- Update your application with the new key
- Test the new key works correctly
- Revoke the old key
Zero-downtime rotation:
Code
Multiple Environments
Use separate API keys for different environments:
Code
Troubleshooting
401 Unauthorized
Problem: Invalid or missing API key
Solutions:
- Verify the API key is correct
- Check the
Authorizationheader format:Bearer YOUR_KEY - Ensure the key hasn't expired or been revoked
- Confirm you're using the correct environment key
403 Forbidden
Problem: Valid key but insufficient permissions
Solutions:
- Verify your subscription tier supports the endpoint
- Check if the API key has required permissions
- Contact support to upgrade your plan
API Key Not Working
Checklist:
- Is the key in the correct format?
Bearer sk_... - Are you using the production key for production API?
- Has the key been revoked?
- Is your subscription active?
- Are you hitting the correct base URL?
https://api.botskyc.com
Support
Need help with authentication?
- Email: [email protected]
- Documentation: developers.botskyc.com
Next Steps:
- Quick Start Guide - Make your first API call
- Rate Limits - Understand usage limits
- API Reference - Explore available endpoints

