Developer Portal
Integrate OKDriver's powerful APIs into your applications. Build amazing driver management and assistant features.
Powerful API Features
Everything you need to build comprehensive driver management solutions
API Key Authentication
Secure API key-based authentication with subscription validation
Real-time WebSocket
WebSocket support for continuous real-time drowsiness detection with state tracking
RESTful API
Standard REST endpoints for image upload and base64 detection
AI Assistant
OkDriver Assistant with Hinglish support and text-to-speech audio responses
API Documentation
Explore our comprehensive API endpoints and integration guides
DMS API Endpoints
/api/detect-imageUpload an image file for drowsiness detection. Supports JPG, PNG, WebP formats.
Parameters:
Example Request:
{
"file": "[Image file via FormData]"
}/api/detect-base64Send base64 encoded image for drowsiness detection
Parameters:
Example Request:
{
"image": "data:image/jpeg;base64,/9j/4AAQSkZJRg..."
}/wsReal-time continuous frame detection with state tracking. Send frames for continuous monitoring.
Parameters:
Example Request:
{
"connection": "ws://localhost:8001/ws?api_key=YOUR_API_KEY",
"messageTypes": [
"frame",
"ping",
"reset"
]
}/healthCheck API health and model availability (no authentication required)
Parameters:
Example Request:
{}Ready to Get Started?
Join thousands of developers building amazing driver management solutions with OKDriver APIs