Curacel Insurer Plans API

The Insurer Plans API from Curacel, for insurer plans.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 9

POST /v1/plans Create Insurer Plan #
GET /v1/plans/{planId}/benefits Get Plan Benefits #
POST /v1/plans/{planId}/benefits/diagnoses Attach diagnoses-based Plan Benefit #
POST /v1/plans/{planId}/benefits/care-group Attach Care Groups to Plan Benefits #
POST /v1/plans/{planId}/benefits/care-type Attach Care Type to Plan Benefits #
POST /v1/plans/{planId}/benefits/claim-category Attach Claim Category Plan Benefit #
PUT /v1/plans/{planId}/benefits/{benefitId} Update Plan Benefit #
DELETE /v1/plans/{planId}/benefits/{benefitId} Delete Plan Benefit #
POST /v1/plans/{planId}/benefits/import Import Plan Benefits #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/curacel:curacel-insurer-plans-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

curacel-insurer-plans-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Curacel Health Developer Insurer Plans API
  description: 'Welcome to the Curacel Health API Reference!

    This API is designed to streamline and enhance your health insurance processing experience.


    With these API endpoints, you would be able to create health insurance claims on our platform.


    These can be used by


    - EMR (electronic medical records) systems to submit claims to health insurers (HMOs)

    - Health insurer ERPs to push claims to Curacel for auto adjudication'
  contact:
    email: support@curacel.ai
  license:
    name: Curacel Terms And Agreement
    url: https://curacel.co/terms-and-conditions.php
  version: 1.0.0
servers:
- url: https://api.health.curacel.co/api
  description: Production
- url: https://api.sandbox.claims.curacel.co/api
  description: Sandbox
security:
- bearerAuth: []
tags:
- name: Insurer Plans
paths:
  /v1/plans:
    post:
      summary: Create Insurer Plan
      operationId: create_insurer_plan
      description: Create a new insurer plan in the authenticated user's organization.
      tags:
      - Insurer Plans
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                description:
                  type: string
                  description: Freeform description of the plan.
                color:
                  type: string
                  description: Optional UI color tag (e.g. "#2E86AB").
                id_from_hmo:
                  type: string
                  description: External identifier/code for the plan in the HMO’s ERP.
                price:
                  type: number
                  format: double
                  description: Commercial price/premium of the plan.
                has_all_providers:
                  type: boolean
                  description: If true, plan is available to all providers.
                parent_id:
                  type: integer
                  description: Parent plan id. Must belong to the authenticated HMO.
                tariff_band_id:
                  type: integer
                  description: Default tariff band id. Must belong to the authenticated HMO.
                meta:
                  type: object
                  description: Arbitrary JSON metadata for extensibility.
                dependant_limit:
                  type: integer
                  minimum: 0
                  description: Maximum number of dependants covered by this plan.
                cover_dependants:
                  type: boolean
                  description: Requires HMO feature access. If provided without dependant_limit, defaults to 1 when true and 0 when false.
                amount_limit:
                  type: number
                  format: double
                  minimum: 0
                  description: Plan-level total amount limit/cap.
                co_payment_value:
                  type: number
                  format: double
                  minimum: 0
                  description: Copayment value (amount or percent based on product rules).
                vat_value:
                  type: number
                  format: double
                  minimum: 0
                  description: VAT value (amount or percent based on product rules).
      responses:
        '200':
          description: Plan created successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  saved:
                    type: object
                    description: The created plan
                    properties:
                      id:
                        type: integer
                      hmo_id:
                        type: integer
                      name:
                        type: string
                      description:
                        type: string
                      color:
                        type: string
                      id_from_hmo:
                        type: string
                      price:
                        type: number
                        format: double
                      has_all_providers:
                        type: boolean
                      parent_id:
                        type:
                        - integer
                        - 'null'
                      tariff_band_id:
                        type:
                        - integer
                        - 'null'
                      meta:
                        type: object
                      dependant_limit:
                        type: integer
                      cover_dependants:
                        type: boolean
                      amount_limit:
                        type: number
                        format: double
                      co_payment_value:
                        type: number
                        format: double
                      vat_value:
                        type: number
                        format: double
                      created_at:
                        type: string
                        format: date-time
                      updated_at:
                        type: string
                        format: date-time
                  message:
                    type: string
        '400':
          description: Invalid request, name and hmo are required
        '401':
          description: Unauthenticated
        '500':
          description: Plan could not be created, contact support
  /v1/plans/{planId}/benefits:
    get:
      summary: Get Plan Benefits
      operationId: get_plan_benefits
      description: Retrieve the list of benefits attached to a given plan. Supports filtering and pagination.
      tags:
      - Insurer Plans
      security:
      - bearerAuth: []
      parameters:
      - name: planId
        in: path
        required: true
        schema:
          type: integer
        description: The unique ID of the HMO plan.
      - name: page
        in: query
        required: false
        schema:
          type: integer
        description: Page number for pagination.
      - name: per_page
        in: query
        required: false
        schema:
          type: integer
        description: Number of items per page.
      - name: search
        in: query
        required: false
        schema:
          type: string
        description: Keyword for searching by benefit/care name/type/group.
      responses:
        '200':
          description: List of plan benefits
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                        hmo_plan_id:
                          type: integer
                        care_id:
                          type:
                          - integer
                          - 'null'
                        care_group_id:
                          type:
                          - integer
                          - 'null'
                        care_type_id:
                          type:
                          - integer
                          - 'null'
                        claim_category:
                          type:
                          - string
                          - 'null'
                        for_diagnoses:
                          type: boolean
                        name:
                          type:
                          - string
                          - 'null'
                        created_at:
                          type:
                          - string
                          - 'null'
                          format: date-time
                        updated_at:
                          type:
                          - string
                          - 'null'
                          format: date-time
                        deleted_at:
                          type:
                          - string
                          - 'null'
                          format: date-time
                        limit_type:
                          type: string
                        limit_value:
                          type: number
                        waiting_period:
                          type:
                          - integer
                          - 'null'
                        meta:
                          type:
                          - object
                          - 'null'
                        enrollee_type:
                          type:
                          - string
                          - 'null'
                        gender:
                          type:
                          - string
                          - 'null'
                          enum:
                          - M
                          - F
                          - null
                          description: Gender restriction on the benefit. `M` or `F`. `null` means the benefit applies to all genders. The API never returns `A`.
                        allowed_care_type_ids:
                          type:
                          - array
                          - 'null'
                          items:
                            type: integer
                        covered:
                          type: boolean
                        benefit_wallets_count:
                          type: integer
                        care:
                          type:
                          - object
                          - 'null'
                          properties:
                            id:
                              type: integer
                            name:
                              type: string
                        care_group:
                          type:
                          - object
                          - 'null'
                        care_type:
                          type:
                          - object
                          - 'null'
                        plan:
                          type: object
                          properties:
                            id:
                              type: integer
                            name:
                              type: string
                            cover_dependants:
                              type: integer
        '401':
          description: Unauthenticated
        '404':
          description: Plan not found
  /v1/plans/{planId}/benefits/diagnoses:
    post:
      summary: Attach diagnoses-based Plan Benefit
      operationId: attach_diagnoses_plan_benefit
      description: Attach a diagnoses-based benefit to a plan by specifying ICD code ranges and optional allowed care types.
      tags:
      - Insurer Plans
      security:
      - bearerAuth: []
      parameters:
      - name: planId
        in: path
        required: true
        schema:
          type: integer
        description: The unique ID of the HMO plan.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              - diagnoses_icd_codes
              properties:
                name:
                  type: string
                  description: Name of the diagnoses-based benefit.
                diagnoses_icd_codes:
                  type: array
                  description: List of ICD codes or ranges to attach to the plan as a benefit.
                  items:
                    type: string
                allowed_care_types:
                  type:
                  - array
                  - 'null'
                  description: Optional list of allowed care type IDs for this diagnoses benefit.
                  items:
                    type: integer
      responses:
        '200':
          description: Diagnoses-based benefit attached successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
        '400':
          description: Missing or invalid parameters
        '401':
          description: Unauthenticated
        '404':
          description: Plan not found
  /v1/plans/{planId}/benefits/care-group:
    post:
      summary: Attach Care Groups to Plan Benefits
      operationId: attach_care_group_plan_benefits
      description: Attach one or more care groups to a plan as benefits.
      tags:
      - Insurer Plans
      security:
      - bearerAuth: []
      parameters:
      - name: planId
        in: path
        required: true
        schema:
          type: integer
        description: The unique ID of the HMO plan.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - care_group_ids
              properties:
                care_group_ids:
                  type: array
                  description: List of care group IDs to attach to the plan.
                  items:
                    type: integer
      responses:
        '200':
          description: Care groups attached successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
        '400':
          description: Invalid parameters
        '401':
          description: Unauthenticated
        '404':
          description: Plan not found
  /v1/plans/{planId}/benefits/care-type:
    post:
      summary: Attach Care Type to Plan Benefits
      operationId: attach_care_type_plan_benefit
      description: Attach a care type to a plan as a benefit, optionally specifying excluded care IDs.
      tags:
      - Insurer Plans
      security:
      - bearerAuth: []
      parameters:
      - name: planId
        in: path
        required: true
        schema:
          type: integer
        description: The unique ID of the HMO plan.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - care_type_id
              properties:
                care_type_id:
                  type: integer
                  description: ID of the care type to attach.
                excluded_care_ids:
                  type:
                  - array
                  - 'null'
                  description: Optional list of care item IDs to exclude from this care type benefit.
                  items:
                    type: integer
      responses:
        '200':
          description: Care type attached successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
        '400':
          description: Invalid parameters or care IDs not under the care type
        '401':
          description: Unauthenticated
        '404':
          description: Plan not found
  /v1/plans/{planId}/benefits/claim-category:
    post:
      summary: Attach Claim Category Plan Benefit
      operationId: attach_claim_category_plan_benefit
      description: Attach a claim-category based benefit to a plan with a specific category amount.
      tags:
      - Insurer Plans
      security:
      - bearerAuth: []
      parameters:
      - name: planId
        in: path
        required: true
        schema:
          type: integer
        description: The unique ID of the HMO plan.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - category_type
              - category_amount
              properties:
                category_type:
                  type: string
                  description: Claim category type (e.g., inpatient, outpatient).
                category_amount:
                  type: number
                  format: double
                  description: Monetary amount for the claim category benefit.
      responses:
        '200':
          description: Claim category benefit attached successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
        '400':
          description: Invalid claim category or amount
        '401':
          description: Unauthenticated
        '404':
          description: Plan not found
  /v1/plans/{planId}/benefits/{benefitId}:
    put:
      summary: Update Plan Benefit
      operationId: update_plan_benefit
      description: Update the configuration of a specific plan benefit (limits, enrollee type, coverage, etc.).
      tags:
      - Insurer Plans
      security:
      - bearerAuth: []
      parameters:
      - name: planId
        in: path
        required: true
        schema:
          type: integer
        description: The unique ID of the HMO plan.
      - name: benefitId
        in: path
        required: true
        schema:
          type: integer
        description: The unique ID of the plan benefit.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                limit_type:
                  type:
                  - string
                  - 'null'
                  description: Type of limit applied to the benefit.
                limit_value:
                  type:
                  - number
                  - 'null'
                  format: double
                  description: Numeric value of the limit.
                waiting_period:
                  type:
                  - integer
                  - 'null'
                  description: Waiting period in days.
                enrollee_type:
                  type:
                  - string
                  - 'null'
                  description: Enrollee type the benefit applies to.
                gender:
                  type:
                  - string
                  - 'null'
                  enum:
                  - M
                  - F
                  - A
                  - null
                  description: 'Gender the benefit applies to. `M` (male), `F` (female), or `A` (all genders).

                    `A` is stored as no gender restriction. Omit this field, or send JSON null, to leave the stored value unchanged — that is not the same as all genders. Sending `A` is the only way to widen a gendered benefit back to all genders.'
                covered:
                  type:
                  - boolean
                  - 'null'
                  description: Whether the benefit is currently covered.
                co_payment_value:
                  type:
                  - number
                  - 'null'
                  format: double
                  description: Co-payment percentage value for the benefit.
      responses:
        '200':
          description: Plan benefit updated successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  data:
                    type: array
                    items:
                      type: object
        '400':
          description: Validation or business rule error while updating the benefit
        '401':
          description: Unauthenticated
        '404':
          description: Plan or benefit not found
    delete:
      summary: Delete Plan Benefit
      operationId: delete_plan_benefit
      description: Delete a specific plan benefit from a plan.
      tags:
      - Insurer Plans
      security:
      - bearerAuth: []
      parameters:
      - name: planId
        in: path
        required: true
        schema:
          type: integer
        description: The unique ID of the HMO plan.
      - name: benefitId
        in: path
        required: true
        schema:
          type: integer
        description: The unique ID of the plan benefit.
      responses:
        '200':
          description: Plan benefit deleted successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
        '400':
          description: Unable to delete benefit
        '401':
          description: Unauthenticated
        '404':
          description: Plan or benefit not found
  /v1/plans/{planId}/benefits/import:
    post:
      summary: Import Plan Benefits
      operationId: import_plan_benefits
      description: Copy all benefits from one plan into another plan owned by the same HMO.
      tags:
      - Insurer Plans
      security:
      - bearerAuth: []
      parameters:
      - name: planId
        in: path
        required: true
        schema:
          type: integer
        description: The ID of the destination plan that will receive the copied benefits.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - from_plan_id
              properties:
                from_plan_id:
                  type: integer
                  description: The ID of the source plan whose benefits will be copied.
      responses:
        '200':
          description: Benefits imported successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
        '400':
          description: Invalid request or no new benefits to copy
        '401':
          description: Unauthenticated
        '404':
          description: Plan not found
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API KEY from your account dashboard
      description: Curacel uses bearer API keys for approved customer and partner integrations. Credentials should be scoped by environment, organization, product, and least-privilege permissions. Common permission names include claims:read, claims:write, policies:read, policies:write, payments:read, payments:write, documents:read, documents:write, webhooks:read, webhooks:write, admin:read, and admin:write. See https://docs.curacel.co/auth.md.
      x-permissions:
      - claims:read
      - claims:write
      - policies:read
      - policies:write
      - payments:read
      - payments:write
      - documents:read
      - documents:write
      - webhooks:read
      - webhooks:write
      - admin:read
      - admin:write