API Reference
Complete documentation for the botsKYC REST API.
API Endpoints
Quick Reference
Complete endpoint reference with request/response examples and code snippets.
View Endpoints →Architecture
Learn integration patterns, error handling, rate limits, and best practices.
Integration Guide →Quick Start
Authentication
All API requests require OAuth2 authentication. First, get your credentials:
- Sign up: Visit Developer Portal
- Create Application: Register your app and subscribe to BotsKYC API
- Get Credentials: Generate Client ID and Client Secret
Get Access Token
curl -X POST https://api.botskyc.com/oauth2/token \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "grant_type=client_credentials" \
-d "client_id=YOUR_CLIENT_ID" \
-d "client_secret=YOUR_CLIENT_SECRET"
Call API with Token
curl https://api.botskyc.com/v1/kyc/documents/verify \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: multipart/form-data"
### Base URL
### Response Format
All responses are in JSON:
```json
{
"status": "success",
"documentType": "OMANG",
"data": {
"fullName": "John Doe",
"idNumber": "456789"
}
}
Main Endpoints
Identity Verification
POST /api/kyc/analyze/identity
Verify identity documents (ID cards, passports, driver's licenses)
Address Verification
POST /api/kyc/analyze/address
Verify address documents (utility bills, bank statements)
Liveness Detection
POST /api/kyc/liveness/verify
Perform face liveness verification
Document Auto-Detection
POST /api/kyc/analyze/auto
Automatically detect and verify any document type
Key Features
High Performance
- 2-5 second response time
- 95-99% accuracy
- Multi-document processing
- Batch operations support
Secure and Reliable
- TLS 1.3+ encryption
- API key authentication
- Rate limiting
- Request validation
🇼 Botswana-Optimized
- Key Botswana document types (Omang, passports, driver's licenses)
- Omang, passports, drivers licenses
- Optimized for local formats
📊 Rate Limits
| Plan | Per Minute | Per Day | Concurrent |
|---|---|---|---|
| Free | 10 | 100 | 1 |
| Starter | 60 | 1,000 | 5 |
| Pro | 200 | 10,000 | 10 |
| Enterprise | Custom | Custom | Custom |
API Documentation
Core Resources
- Quick Reference - All endpoints
- Architecture - Integration patterns
- Document Types - Supported documents
- Webhooks - Event notifications
Related Guides
- Getting Started - First integration
- Testing - Test your integration
- Platform Overview - System architecture
Support
Need help integrating?
- support@botskyc.com
- 24/7 Technical Support
- Full Documentation