Skip to content
Enterprise Integration Guide IOWA 811 Β· PHASE 1-5 PRODUCTION READY FastAPI / Python 3.13

Architected for safe automation and high reliability.

The OCC Platform is an enterprise modular monolith providing authenticated multi-tenant access, state-neutral ticket draft reviews, fail-closed live Iowa 811 portal traversal, asynchronous worker leasing, and cryptographic outbox webhook dispatching.

46
REST Endpoints
85.61%
Verified Test Coverage
HMAC-256
Outbox Webhooks
Iowa 480.1
Statutory Notice (6 AM Next B-Day)
01

Tenant Isolation

Every account, ticket draft, sync operation, and audit log is strictly scoped by cryptographic organization identity.

02

Idempotent Mutations

Deterministic idempotency keys protect draft creation, approvals, and mutations against network retries.

03

Safe Pipeline & Outbox

Multi-layer fail-closed safety gates execute verified dry-run simulations before any live portal action.

Your First Request

Use /api/v1/auth/me to verify an issued API key and inspect its tenant organization, granted scopes, and expiration timestamp.

API Base URL
Current guide origin
Authentication Type
Bearer Service API Key
Payload & Encoding
JSON Β· UTF-8
Rate Limiter
IP & Key Token Bucket
Terminal / cURL Quickstart
# 1. Export your issued tenant API key
export OCC_API_KEY="occ_live_your_api_key_here"

# 2. Verify credentials and permissions
curl --fail-with-body \
  /api/v1/auth/me \
  -H "Authorization: Bearer $OCC_API_KEY" \
  -H "X-Correlation-ID: check-001"

Note: This developer guide only displays public OpenAPI schemas. It never collects, transmits, or logs secrets.

⚠️ Safety Boundary: Fail-Closed Live Gates

Local review approval of a ticket draft is NOT authorization for OCC portal submission. Live ticket creation or final submission requires explicit activation of the global live gate (OCC_LIVE_SUBMIT_ENABLED=true) AND inclusion of the OCC account in IOWA_SUBMIT_AUTHORIZED_ACCOUNT_IDS. Without explicit authorization, the background worker safely executes a verified dry-run simulation and emits an outbox event with a SIM-IA-XXXX confirmation reference.