Skip to Content
MID 1.0 is released 🎉

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.

Last updated: October 16, 2025
v1.0

Build with MID

Secure identity verification and authentication API

REST API
RESTful endpoints with JSON
Enterprise Security
Bank-grade encryption & compliance
Global Infrastructure
99.9% uptime SLA worldwide

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.

ℹ️
Getting Started

New to the MID API? Start with our Quick Start Guide to create your first authentication session in minutes.

Key Capabilities

Identity Verification

Real-time identity verification

Verify user identities using government-issued documents, biometric data, and advanced AI verification.

  • Document verification (ID, Passport, Driver’s License)
  • Biometric matching and liveness detection
  • Risk assessment and fraud prevention
  • Compliance with KYC/AML regulations
Biometric Authentication

Passwordless authentication

Enable secure, passwordless authentication using biometric data stored locally on user devices.

  • Fingerprint and face recognition
  • FIDO2/WebAuthn compliance
  • Multi-factor authentication
  • Session management
Digital Signing

Legally binding signatures

Create legally binding digital signatures with full audit trails and compliance features.

  • Document signing workflows
  • Multi-party signing support
  • Legal compliance & audit trails
  • Bulk signing operations

API Fundamentals

Base URL

All API requests are made to:

https://api.mobid.io/v1

Authentication

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 session
  • GET /auth/sessions/{id} - Get session status
  • POST /auth/verify - Verify authentication

Identity API

Verify user identities using documents and biometric data.

Key Endpoints:

  • POST /identity/verify - Start verification
  • GET /identity/verifications/{id} - Get verification status
  • POST /identity/documents - Upload documents

Signing API

Create and manage digital document signing workflows.

Key Endpoints:

  • POST /signing/sessions - Create signing session
  • GET /signing/sessions/{id} - Get signing status
  • POST /signing/documents - Upload documents

Webhooks API

Receive real-time notifications about authentication and verification events.

Key Events:

  • authentication.completed
  • verification.completed
  • signing.completed

SDKs and Libraries

âś…
Official SDKs Available

We provide official SDKs for popular programming languages with built-in best practices, error handling, and automatic retries.

JavaScript/Node.js

@mid/api-client

Full-featured SDK for JavaScript and Node.js applications.

npm install @mid/api-client

Documentation

Python

mid-api-client

Pythonic SDK with async support and type hints.

pip install mid-api-client

Documentation

PHP

invexia/mid-api

Modern PHP SDK with Composer support.

composer require invexia/mid-api

Documentation

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:

  1. Frontend: Initialize authentication session and display QR code
  2. Mobile App: User scans QR code and completes authentication
  3. Backend: Receive webhook notification and verify result
  4. Frontend: Update UI based on authentication status

Mobile Applications

For mobile applications, use our native SDKs for seamless integration:

  1. Initialize: Set up MID SDK in your mobile app
  2. Authenticate: Call authentication methods directly
  3. Verify: Receive immediate authentication results
  4. Continue: Proceed with authenticated user session

Server-to-Server

For server-side integrations without user interaction:

  1. Authenticate: Use client credentials flow
  2. Verify: Submit identity documents for verification
  3. Monitor: Check verification status via polling or webhooks
  4. 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

API Reference

Complete API Documentation

Detailed reference for all endpoints, parameters, and responses.

Browse API Reference

Interactive Examples

Try the API

Test API endpoints directly in your browser with our interactive explorer.

Open API Explorer

Developer Support

Get Help

Access our developer community, submit tickets, and get expert assistance.

Contact Support

Community Resources

Rate Limits & Quotas

The MID API implements rate limiting to ensure fair usage and system stability:

Rate Limits

PlanRequests per MinuteBurst Limit
Sandbox60120
Starter300600
Professional1,0002,000
EnterpriseCustomCustom

Rate Limit Headers

All API responses include rate limit information:

X-RateLimit-Limit: 1000 X-RateLimit-Remaining: 999 X-RateLimit-Reset: 1634567890

Handling 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

View Complete Changelog


Ready to get started?

Create your developer account and start building with the MID API today.

Last updated on