Developer Documentation
Everything you need to integrate Switch Labs products into your applications. REST APIs, webhooks, and comprehensive guides.
Product Documentation
Metro2
Bureau-grade credit reporting API with validation, formatting, and delivery.
Maptera
Store locator API with nearby search, geocoding, and Shopify integration.
VerifyAI
Photo verification API for fleet inspection, delivery, and micromobility.
SwitchID
Identity verification API with document scanning and liveness detection.
API Overview
Authentication
All API requests require authentication using a Bearer token. Include your API key in the Authorization header:
curl -X GET "https://api.switchlabs.dev/v1/resource" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"Rate Limits
API rate limits vary by product and plan. Standard limits:
- Free tier: 100 requests/minute
- Pro tier: 1,000 requests/minute
- Enterprise: Custom limits available
Webhooks
Webhooks deliver real-time notifications for events like verification completions, file processing, and status changes. Configure webhook endpoints in your dashboard.
{
"event": "verification.completed",
"timestamp": "2024-01-15T10:30:00Z",
"data": {
"id": "ver_abc123",
"status": "approved",
"confidence": 0.98
}
}Error Handling
All errors return consistent JSON responses with error codes and messages:
{
"error": {
"code": "invalid_request",
"message": "Missing required field: email",
"status": 400
}
}Ready to get started?
Create an account to get your API keys and start building with Switch Labs.