OpenGov exposes open-standard HTTP interfaces for portals, external registries, and AI assistants. Every published service carries a versioned specification and machine-readable metadata. Internal database tables stay private behind module boundaries.
Public discovery and procedure APIs
External portals discover active services through GET /.well-known/smart-rules and GET /api/public/v1/procedures. Each published procedure version exposes its form schema, rules, and OpenAPI specification. Consult Published Procedure Spec Contract for payload rules and Public Routes and Request Boundaries for the exact endpoint list.
Embedded applicant forms
Agency websites can embed <opengov-procedure-form> inside an iframe pointing to /embed/procedures/{id}. Deployers must list approved parent origins in OPENGOV_ALLOWED_EMBED_ORIGINS. When that setting is empty, the Content-Security-Policy header blocks cross-origin framing with frame-ancestors 'self'.
Embedded assistant door (MCP)
Each deployment mounts an OAuth 2.1 Model Context Protocol endpoint at https://mcp.<base>/mcp. Assistants authenticate as real staff or applicant users through Keycloak authorization code plus PKCE. Every call obeys that user’s existing permissions and writes to the audit trail. Read Managing Assistant Access (MCP) for access controls.
External registry verification (SmartLink)
SmartLink queries external government APIs and records audited lookup receipts without storing raw credentials in procedure specs. Operators configure synchronous, webhook, or VPN-backed connections in the SmartLink workspace. Read SmartLink Execution Modes and SmartLink VPN Institution Connectivity for connection patterns.