Guides
Everything you need to ship
Quickstart
- Create an accountSign up at hub-insure.com, choose insurer / broker / developer, and verify your email.
- Generate an API keyIn App → Developer → Keys, click Create key. Keys are shown once — copy and store securely.
- Make your first quote callPOST /api/v1/quotes/motor with your test key and a sample payload to receive a priced quote in <300ms.
Authentication
- Bearer tokensAll API requests require `Authorization: Bearer hi_live_…` or `hi_test_…`. Test keys never touch production carriers.
- ScopesKeys can be scoped to quote, bind, pay, policy, claims, or admin. Least-privilege is enforced server-side.
- RotationRotate keys from the dashboard at any time. The previous key keeps working for 24h to avoid downtime.
Core resources
- ProductsMotor, medical, travel, property, life. Each product exposes its schema, rating fields, and bindable coverages.
- QuotesCreate, retrieve, list, and bind quotes. Idempotency-Key header supported on POST.
- PoliciesIssue, retrieve, endorse, cancel (pro-rata), and renew. Documents are returned as signed URLs.
- ClaimsFNOL intake, status transitions, document upload, adjuster notes, and settlement.
Webhooks
- Eventsquote.created, quote.bound, payment.succeeded, policy.issued, policy.endorsed, policy.cancelled, claim.updated.
- SignaturesEvery payload is signed with HMAC-SHA256 in the `X-Hub-Signature` header. Verify before processing.
- RetriesFailed deliveries retry with exponential backoff up to 24h. Replay manually from the dashboard.
Security & compliance
- Data residencyProduction traffic stays inside the regional cluster you select (GCC or Levant).
- EncryptionTLS 1.3 in transit, AES-256 at rest. Customer PII is tokenized in API logs.
- Audit trailEvery state change is recorded with actor, before/after, and request id.
API Reference
Endpoint index
| Method | Path | Description |
|---|---|---|
POST | /api/v1/quotes/motor | Create a motor quote |
GET | /api/v1/quotes/{id} | Retrieve a quote |
POST | /api/v1/quotes/{id}/bind | Bind a quote |
POST | /api/v1/payments | Create a payment intent |
POST | /api/v1/policies/{id}/issue | Issue a policy after payment |
POST | /api/v1/policies/{id}/endorse | Mid-term endorsement |
POST | /api/v1/policies/{id}/cancel | Cancel with pro-rata refund |
POST | /api/v1/policies/{id}/renew | Generate renewal offer |
POST | /api/v1/claims | Submit FNOL |
POST | /api/public/quote | Embedded widget quote (public) |
Full payload schemas and live examples are available in the API reference.
