APIs
Rating, quoting, and payment link APIs with Swagger docs and real-time events.
Every capability in our quoting widget and portal is backed by a clean JSON REST API. Call the rating engine from your own systems, generate hosted payment links on demand, and subscribe to webhook events across the policy lifecycle.
Call the rating engine and payment flows from any system
Whether you are embedding our widget, building a custom broker portal, or calling the rating engine directly from your policy administration system, the InsureOS API evaluates your published product rules and returns a structured JSON response with the complete calculation trace.
Interactive Swagger documentation makes it straightforward for your developers to explore schemas and test requests. Every API call and outbound event is logged in the portal so your team can inspect payloads, response times, and downstream third-party integrations, or pair API calls with automated customer workflows.

Built for clean integrations. Full visibility on every call.
Interactive Swagger docs
Browse request and response schemas, authentication headers, and payload examples in our Swagger OpenAPI reference.
Scoped tokens & HMAC webhooks
Issue per-environment bearer tokens in the portal and verify every outbound webhook with an HMAC-SHA256 signature.
Searchable API & event logs
Inspect request bodies, validation errors, calculation traces, and downstream integration calls directly in the portal.
One API for
everything
Request rates, create quotes, issue policies, fetch history. JSON in and out, with clear errors at every step.
{
"rating_factors": {
"cover_start_date": "2025-01-20",
"sum_insured": 10000,
"cover_type": "comprehensive",
"driver_age": 18
}
}{
"calculation_id": "c-x7dhe",
"premium": "2970.0000",
...
}What you can build with the API
Use InsureOS as a headless calculation and checkout engine or combine API calls with our embeddable quoting widget.
Rating & calculation API
Submit risk answers to evaluate a product version and receive the full premium breakdown across excess options, statutory levies, referral flags, and the step-by-step calculation trace.
Quoting & proposal API
Create, update, and retrieve structured quote intents from custom web frontends, broker portals, or internal underwriting desks.
Payment link & checkout API
Generate hosted checkout sessions and standalone payment links for new business, endorsements, or renewals from your existing policy system.
Events & webhooks
Subscribe your downstream services to structured, HMAC-signed webhook events emitted whenever quotes, referrals, payments, or policies change state.
Events emitted on every state change
Whenever a quote is created, referred, paid, or bound, InsureOS emits a structured event. Subscribe your own webhook receivers or let built-in listeners update your connected systems.
- Webhook delivery signed with HMAC-SHA256 secrets
- Structured event payloads across quotes, referrals, payments, and policies
- Full payload inspection and one-click event retriggering in the portal
- quote.created14:32:18qx_7f3a92124ms14:32:18quote.createdqx_7f3a92acme-auto.example.com124ms
- quote.rated14:32:19qx_7f3a9298ms14:32:19quote.ratedqx_7f3a92acme-auto.example.com98ms
- payment.initiated14:32:24pay_8b1c4142ms14:32:24payment.initiatedpay_8b1c4acme-auto.example.com142ms
- payment.succeeded14:32:48pay_8b1c4108ms14:32:48payment.succeededpay_8b1c4acme-auto.example.com108ms
- quote.paid14:32:48qx_7f3a92116ms14:32:48quote.paidqx_7f3a92acme-auto.example.com116ms
- policy.bound14:32:49pol_3d9f7132ms14:32:49policy.boundpol_3d9f7acme-auto.example.com132ms
- document.generated14:32:50doc_2a4e194ms14:32:50document.generateddoc_2a4e1acme-auto.example.com94ms
- webhook.dispatched14:32:51whk_5g8h288ms14:32:51webhook.dispatchedwhk_5g8h2acme-auto.example.com88ms
Frequently asked questions about InsureOS APIs
Is Swagger documentation available for the API?
Yes. InsureOS provides interactive Swagger (OpenAPI) documentation covering our rating, quoting, payment link, and webhook schemas so your developers can inspect payloads and test integration calls quickly.
Does the embeddable quote widget run on the same API?
Yes. Our embeddable quoting widget uses the same API endpoints available to your engineering team. Every rating calculation, excess comparison, referral check, and payment link flow can be called programmatically.
Can our existing policy system call the InsureOS rating engine directly?
Yes. Your policy administration system or broker portal can send risk answers to the rating API and receive the calculated base premium, statutory levies, fees, GST, and referral status back in real time.
Can we generate payment links via the API?
Yes. You can create hosted payment links for new quotes, endorsements, or renewals via the API, allowing customers to pay upfront by card or bank transfer or set up monthly premium funding.
How are API tokens, webhooks, and logs managed?
Administrators can issue per-environment API tokens, configure webhook endpoints with HMAC signing secrets, and inspect incoming API requests and outbound event deliveries directly in the portal.
How are validation and rating errors returned?
Invalid requests return structured JSON error responses listing the specific fields that failed validation, while rating responses clearly report any triggered referral or decline rules alongside the calculation trace.
More in solutions
Online quoting
Embed a real quote-to-bind flow
Automatic rating
Product definitions, rules, tables, explainable factors
Third-party integrations
Plug in the tools you already run
Payment collection
Cards, bank transfers, finance
Conversion tracking
GTM-ready quote events with real premiums
Renewals
Re-rate, payments, automatic renewals
Document generation
Branded policy docs, certificates, receipts
Automation
Webhooks, events, integrations