APIs

Clean REST endpoints when your architecture demands headless control.

A structured REST API for rating calculations, digital quoting, policy binding, and lifecycle endorsements. Every state transition dispatches cryptographically verified webhook events.

Deterministic programmatic rating with complete audit traces

Headless insurance applications require consistent, low-latency rating endpoints that evaluate product rules without undocumented side effects. The InsureOS REST API allows engineering teams to submit asset dimensions, operator demographics, and desired coverage limits, receiving calculated premiums with complete formula traces.

Whether connecting custom broker portals, feeding back-office integrations like JAVLN, or orchestrating event-driven automation across partner ledgers, our endpoints operate on standard JSON contracts. For architectural guidance on protecting your system of record, read our modernise without replacing core guide.

InsureOS event stream inspector displaying structured JSON payloads, HMAC signatures, and webhook delivery status across quote and policy states
The InsureOS event stream inspector allows developers to inspect real-time payload schemas, delivery timestamps, and endpoint response codes.

Engineered for developer productivity. Guaranteed backward compatibility.

01

Scoped per-environment tokens

Separate API keys for staging and production environments, with granular permission boundaries for quote generation, underwriting review, and binding.

02

Cryptographic HMAC signatures

Every webhook delivery includes an HMAC-SHA256 signature calculated with your organisation secret, allowing your systems to verify authenticity.

03

Deterministic error responses

Receive standard RFC-7807 problem details with field-level validation errors, calculation warnings, and actionable error messages.

One API for
everything

Request rates, create quotes, issue policies, fetch history. JSON in and out, with clear errors at every step.

POST /products/CAR/calculate
{
  "rating_factors": {
    "cover_start_date": "2025-01-20",
    "sum_insured": 10000,
    "cover_type": "comprehensive",
    "driver_age": 18
  }
}
→ 200 OK
{
  "calculation_id": "c-x7dhe",
  "premium": "2970.0000",
  ...
}

Documented OpenAPI specifications

Every endpoint publishes standard OpenAPI 3 definitions. Inspect resource schemas, test request payloads with sandbox tokens, and export machine-readable definitions directly into your SDK generation toolchains.

  • OpenAPI 3 specifications generated directly from the calculation engine
  • Interactive testing console with environment-scoped authentication
  • Documented error models and webhook event payloads for every resource

Webhooks on every state change

Every meaningful state change in the platform dispatches a real-time event. Subscribing systems receive asynchronous, HMAC-signed webhooks with monotonic event ordering and timestamp replay capabilities.

See automation
  • Asynchronous webhook delivery with HMAC-SHA256 signatures
  • Structured event taxonomy across quotes, payments, policies, and documents
  • Timestamp-based replay mechanisms to recover from network downtime
Event stream
acme-auto · production
  • quote.created
    14:32:18 qx_7f3a92 124ms
  • quote.rated
    14:32:19 qx_7f3a92 98ms
  • payment.initiated
    14:32:24 pay_8b1c4 142ms
  • payment.succeeded
    14:32:48 pay_8b1c4 108ms
  • quote.paid
    14:32:48 qx_7f3a92 116ms
  • policy.bound
    14:32:49 pol_3d9f7 132ms
  • document.generated
    14:32:50 doc_2a4e1 94ms
  • webhook.dispatched
    14:32:51 whk_5g8h2 88ms

Frequently asked questions about InsureOS APIs

Get in touch

We'd love to hear from you

hello@os.insure
Built by
The Caretakers

A small New Zealand product studio. We design, build, and operate software for insurers.

caretakers.io