MID API Documentation
Build secure identity verification and authentication solutions with the MID REST API. Get started with our comprehensive guides, code examples, and interactive API explorer.
Build with MID
Secure identity verification and authentication API
About the MID API
The MID (Mobile Identity) API enables developers to integrate secure identity verification, biometric authentication, and digital signing capabilities into their applications. Built on modern REST principles, our API provides simple, consistent interfaces for complex identity operations.
New to the MID API? Start with our Quick Start Guide to create your first authentication session in minutes.
Key Capabilities
API Fundamentals
Base URL
All API requests are made to:
https://api.mobid.io/v1Authentication
The MID API uses OAuth 2.0 with client credentials for authentication. You’ll need to obtain an access token before making API calls.
curl -X POST https://api.mobid.io/v1/auth/token \
-H "Content-Type: application/json" \
-d '{"client_id":"your-client-id","client_secret":"your-client-secret","grant_type":"client_credentials"}'Rate Limits
API requests are rate limited to ensure system stability:
- Standard Plan: 100 requests per minute
- Professional Plan: 1,000 requests per minute
- Enterprise Plan: Custom limits available
Response Format
All API responses use JSON format with consistent structure:
{
"success": true,
"data": {
// Response data
},
"meta": {
"request_id": "req_1234567890",
"timestamp": "2025-10-16T12:00:00Z"
}
}Quick Start
Core APIs
Authentication API
Create and manage authentication sessions with biometric verification.
Key Endpoints:
POST /auth/sessions- Create sessionGET /auth/sessions/{id}- Get session statusPOST /auth/verify- Verify authentication
Identity API
Verify user identities using documents and biometric data.
Key Endpoints:
POST /identity/verify- Start verificationGET /identity/verifications/{id}- Get verification statusPOST /identity/documents- Upload documents
Signing API
Create and manage digital document signing workflows.
Key Endpoints:
POST /signing/sessions- Create signing sessionGET /signing/sessions/{id}- Get signing statusPOST /signing/documents- Upload documents
Webhooks API
Receive real-time notifications about authentication and verification events.
Key Events:
authentication.completedverification.completedsigning.completed
SDKs and Libraries
We provide official SDKs for popular programming languages with built-in best practices, error handling, and automatic retries.
Mobile SDKs
iOS SDK
- Native Swift implementation
- iOS 12+ support
- Face ID and Touch ID integration
- Download iOS SDK
Android SDK
- Native Kotlin/Java implementation
- Android 6.0+ (API 23+) support
- Biometric API integration
- Download Android SDK
Integration Patterns
Web Applications
For web applications, use our JavaScript SDK with server-side verification:
- Frontend: Initialize authentication session and display QR code
- Mobile App: User scans QR code and completes authentication
- Backend: Receive webhook notification and verify result
- Frontend: Update UI based on authentication status
Mobile Applications
For mobile applications, use our native SDKs for seamless integration:
- Initialize: Set up MID SDK in your mobile app
- Authenticate: Call authentication methods directly
- Verify: Receive immediate authentication results
- Continue: Proceed with authenticated user session
Server-to-Server
For server-side integrations without user interaction:
- Authenticate: Use client credentials flow
- Verify: Submit identity documents for verification
- Monitor: Check verification status via polling or webhooks
- Process: Handle verification results in your business logic
Security & Compliance
The MID API is built with enterprise-grade security and compliance features:
- Encryption: All data encrypted in transit (TLS 1.3) and at rest (AES-256)
- Authentication: OAuth 2.0 with short-lived tokens and optional mTLS
- Compliance: SOC 2 Type II, ISO 27001, GDPR, and regional data protection laws
- Monitoring: 24/7 security monitoring with incident response procedures
- Audit: Comprehensive audit logs for all API operations
Data Privacy
We follow privacy-by-design principles:
- Minimal Data: Only collect data necessary for verification
- Local Storage: Biometric data stored locally on user devices
- Data Retention: Configurable retention policies
- User Control: Users can request data deletion at any time
Support & Resources
Community Resources
- Developer Forum  - Ask questions and share solutions
- GitHub  - View code samples and contribute
- Status Page  - Monitor API uptime and incidents
- Changelog - Stay updated with latest API changes
Rate Limits & Quotas
The MID API implements rate limiting to ensure fair usage and system stability:
Rate Limits
| Plan | Requests per Minute | Burst Limit |
|---|---|---|
| Sandbox | 60 | 120 |
| Starter | 300 | 600 |
| Professional | 1,000 | 2,000 |
| Enterprise | Custom | Custom |
Rate Limit Headers
All API responses include rate limit information:
X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 999
X-RateLimit-Reset: 1634567890Handling Rate Limits
When you exceed rate limits, the API returns a 429 Too Many Requests response:
{
"error": {
"code": "rate_limit_exceeded",
"message": "Too many requests. Please try again later.",
"retry_after": 60
}
}Changelog
v1.0.0 - October 16, 2025
New Features:
- Initial release of MID API v1
- Authentication sessions with biometric verification
- Identity verification with document upload
- Digital signing workflows
- Webhook notifications
- OAuth 2.0 authentication
SDKs:
- JavaScript/Node.js SDK v1.0.0
- Python SDK v1.0.0
- iOS SDK v1.0.0
- Android SDK v1.0.0
Ready to get started?
Create your developer account and start building with the MID API today.