VELARISAPI Docs

Policy API

Contracts, policies, renewals, invoicing, and webhook integrations.

Policy API

The Policy API is the core post-sale API for the Velaris insurance platform, handling contracts, policies, renewals, and billing.

  • Base URL: https://api.dev.velarisinsurance.com/api/policy
  • Auth: JWT Bearer token

API Groups

Contracts (/api/contract/**)

Contract lifecycle management — creation (triggered by HubSpot deal-closed webhook), updates, and organization contract queries.

Policies (/api/policy/**)

Individual policy management — issuance, modifications, cancellations, and coverage lookups.

Renewals (/api/renewal/**)

Automated and manual policy renewal workflows.

Invoices (/api/invoice/**)

Billing and invoice management, integrated with Stripe for payment processing.

Webhooks (/api/webhook/**)

Inbound webhook handlers for external integrations (HubSpot deal-closed, Stripe events, etc.).

Local Development

When running locally on port 9030:

  • Swagger UI: http://localhost:9030/swagger-ui.html
  • OpenAPI JSON: http://localhost:9030/v3/api-docs

Per-group specs:

GroupLocal Spec URL
Contractshttp://localhost:9030/v3/api-docs/contracts
Policieshttp://localhost:9030/v3/api-docs/policies
Renewalshttp://localhost:9030/v3/api-docs/renewals
Invoiceshttp://localhost:9030/v3/api-docs/invoices
Webhookshttp://localhost:9030/v3/api-docs/webhooks

On this page