{"openapi":"3.1.0","info":{"title":"OpenMail API","version":"1.0.0","description":"Agent-native email infrastructure, programmable mailboxes, verified commercial workflows, MCP & A2A gateway."},"servers":[{"url":"https://openmail.run"}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer"},"ApiKeyHeader":{"type":"apiKey","in":"header","name":"X-API-Key"}}},"paths":{"/api/health":{"get":{"summary":"Service liveness check","responses":{"200":{"description":"OK"}}}},"/api/ready":{"get":{"summary":"Dependency readiness check","responses":{"200":{"description":"Ready"}}}},"/api/revision":{"get":{"summary":"Deployed release SHA & runtime","responses":{"200":{"description":"OK"}}}},"/api/v1/auth/providers":{"get":{"summary":"Truthful auth provider readiness","responses":{"200":{"description":"OK"}}}},"/api/v1/auth/signup":{"post":{"summary":"Create user and workspace","responses":{"201":{"description":"Created"}}}},"/api/v1/auth/login":{"post":{"summary":"Authenticate with email and password","responses":{"200":{"description":"OK"}}}},"/api/v1/auth/magic-link/request":{"post":{"summary":"Request single-use passwordless magic link","responses":{"200":{"description":"OK"}}}},"/api/v1/auth/magic-link/verify":{"post":{"summary":"Verify single-use magic link","responses":{"200":{"description":"OK"}}}},"/api/v1/auth/export":{"get":{"summary":"GDPR Art. 20 user data export","security":[{"BearerAuth":[]}],"responses":{"200":{"description":"OK"}}}},"/api/v1/auth/account":{"delete":{"summary":"GDPR Art. 17 & App Store account deletion","security":[{"BearerAuth":[]}],"responses":{"200":{"description":"Deleted"}}}},"/api/v1/mailboxes":{"get":{"summary":"List tenant mailboxes","security":[{"BearerAuth":[]}],"responses":{"200":{"description":"OK"}}},"post":{"summary":"Provision agent or business mailbox","security":[{"BearerAuth":[]}],"responses":{"201":{"description":"Created"}}}},"/api/v1/domains":{"get":{"summary":"List custom domains","security":[{"BearerAuth":[]}],"responses":{"200":{"description":"OK"}}},"post":{"summary":"Register custom domain & generate DNS plan","security":[{"BearerAuth":[]}],"responses":{"201":{"description":"Created"}}}},"/api/v1/domains/{domainId}/verify":{"post":{"summary":"Verify live DNS TXT/SPF/DKIM/DMARC/MX alignment","security":[{"BearerAuth":[]}],"responses":{"200":{"description":"OK"}}}},"/api/v1/threads":{"get":{"summary":"Search and list inbox threads","security":[{"BearerAuth":[]}],"responses":{"200":{"description":"OK"}}}},"/api/v1/messages/send":{"post":{"summary":"Queue idempotent outbound email","security":[{"BearerAuth":[]}],"responses":{"202":{"description":"Queued"}}}},"/api/v1/messages/{messageId}/cancel":{"post":{"summary":"Cancel queued/scheduled email before dispatch","security":[{"BearerAuth":[]}],"responses":{"200":{"description":"Cancelled"}}}},"/api/v1/agents":{"get":{"summary":"List 7 specialized agent manifests and modes","security":[{"BearerAuth":[]}],"responses":{"200":{"description":"OK"}}}},"/api/v1/grants":{"get":{"summary":"List scoped agent grants","security":[{"BearerAuth":[]}],"responses":{"200":{"description":"OK"}}},"post":{"summary":"Create scoped delegated agent grant","security":[{"BearerAuth":[]}],"responses":{"201":{"description":"Created"}}}},"/api/v1/goals/preview":{"post":{"summary":"Dry-run plain-language goal builder","security":[{"BearerAuth":[]}],"responses":{"200":{"description":"Preview"}}}},"/api/v1/workflows":{"get":{"summary":"List versioned workflow recipes","security":[{"BearerAuth":[]}],"responses":{"200":{"description":"OK"}}},"post":{"summary":"Create versioned workflow recipe","security":[{"BearerAuth":[]}],"responses":{"201":{"description":"Created"}}}},"/api/v1/approvals":{"get":{"summary":"List human-in-the-loop approval items","security":[{"BearerAuth":[]}],"responses":{"200":{"description":"OK"}}}},"/api/v1/evidence":{"get":{"summary":"List immutable action evidence ledger","security":[{"BearerAuth":[]}],"responses":{"200":{"description":"OK"}}}},"/api/v1/connect-ai/status":{"get":{"summary":"Universal Connect AI (og-connect v0.3.4) status","security":[{"BearerAuth":[]}],"responses":{"200":{"description":"OK"}}}},"/api/v1/partners":{"get":{"summary":"Truthful 25-partner Open Group readiness matrix","responses":{"200":{"description":"OK"}}}},"/api/v1/billing/plans":{"get":{"summary":"Public OpenMail pricing plans and hard caps","responses":{"200":{"description":"OK"}}}},"/mcp":{"post":{"summary":"MCP Streamable HTTP (2026-07-28 + 2025-11-25)","responses":{"200":{"description":"JSON-RPC 2.0"}}}},"/a2a":{"post":{"summary":"A2A v1.0 JSON-RPC 2.0 endpoint","responses":{"200":{"description":"JSON-RPC 2.0"}}}}}}