Create Insurer Plan
POST/v1/plans
Create a new insurer plan in the authenticated user's organization.
Request
- application/json
Body
required
Freeform description of the plan.
Optional UI color tag (e.g. "#2E86AB").
External identifier/code for the plan in the HMO’s ERP.
Commercial price/premium of the plan.
If true, plan is available to all providers.
Parent plan id. Must belong to the authenticated HMO.
Default tariff band id. Must belong to the authenticated HMO.
Arbitrary JSON metadata for extensibility.
Maximum number of dependants covered by this plan.
Requires HMO feature access. If provided without dependant_limit, defaults to 1 when true and 0 when false.
Plan-level total amount limit/cap.
Copayment value (amount or percent based on product rules).
VAT value (amount or percent based on product rules).
Responses
- 200
- 400
- 401
- 500
Plan created successfully
- application/json
- Schema
- Example (from schema)
Schema
saved object
The created plan
{
"saved": {
"id": 0,
"hmo_id": 0,
"name": "string",
"description": "string",
"color": "string",
"id_from_hmo": "string",
"price": 0,
"has_all_providers": true,
"parent_id": 0,
"tariff_band_id": 0,
"meta": {},
"dependant_limit": 0,
"cover_dependants": true,
"amount_limit": 0,
"co_payment_value": 0,
"vat_value": 0,
"created_at": "2025-12-03T11:50:57.255Z",
"updated_at": "2025-12-03T11:50:57.255Z"
},
"message": "Plan Saved Successfully."
}
Invalid request, name and hmo are required
Unauthenticated
Plan could not be created, contact support