Curacel Enrollees API

The Enrollees API from Curacel, for enrollees.

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 7

POST /v1/enrollees Create/Update An Enrollee #
POST /v1/enrollees/{enrollee_id}/facial-verification-url Generate Facial Verification URL #
POST /v1/enrollees/{enrollee_id}/override-check-ins Create Override Check-In #
GET /v1/enrollees/single-enrollee Fetch Enrollee Details #
GET /v1/enrollees/single-enrollee/benefits Fetch Enrollee Benefits #
GET /v1/enrollees/single-enrollee/utilization Sum Of An enrollees Utilization over a period #
PUT /v1/enrollees/{id}/change-status Change Enrollee Status #

Specifications

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-enrollees-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-enrollees-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Curacel Health Developer Enrollees 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: Enrollees
paths:
  /v1/enrollees:
    post:
      tags:
      - Enrollees
      summary: Create/Update An Enrollee
      description: Create or Update A Single Enrollee. **Note:** This feature is only available to HMOs/Insurers.
      operationId: create_enrollee
      requestBody:
        required: true
        content:
          application/json:
            schema:
              required:
              - insurance_no
              - firstname
              - lastname
              - status
              type: object
              properties:
                insurance_no:
                  type: string
                  description: "The insurance number of the enrollee. This must be a unique\n value."
                alternate_insurance_no:
                  type: string
                  description: An alternate insurance number for the enrollee.
                firstname:
                  type: string
                  description: The first name of the enrollee.
                lastname:
                  type: string
                  description: The last name of the enrollee.
                phone:
                  type: string
                  description: The phone number of the enrollee.
                email:
                  type: string
                  description: The email address of the enrollee.
                  format: email
                sex:
                  type: string
                  description: The gender of the enrollee.
                address:
                  type: string
                  description: The address of the enrollee.
                birthdate:
                  type: string
                  description: The birthdate of the enrollee.
                  format: date
                status:
                  type: string
                  description: 'The status of the enrollee. The code is what is expected. Possible values are: AA (ACTIVE), IA (IN-ACTIVE), SX (SUSPENDED), XX (TERMINATED), PP (PENDING), WP (WAITING PERIOD).'
                  enum:
                  - AA
                  - IA
                  - SX
                  - XX
                  - PP
                  - WP
                parent_insurance_no:
                  type: string
                  description: The insurance number of the principal enrollee if the enrollee is a dependant.
                parent_relationship:
                  type: string
                  description: The relationship between the enrollee and the principal enrollee.
                photo_base64_string:
                  type: string
                  description: A base64 encoded image string.
                plan:
                  description: The Insurance plan for the enrollee.
                  type: object
                  properties:
                    id:
                      type: integer
                      description: The Id as exists on curacel, ignore if you don't have it.
                    code:
                      type: string
                      description: The unique identifier of this plan on your Insurer ERP. Required if 'name' is absent.
                    name:
                      type: string
                      description: Name of the plan. Required if 'code' is absent.
                    create_if_not_found:
                      type: boolean
                      description: Create the plan record if it doesn't exist. Code and name must be supplied if true.
                client_id:
                  type: integer
                  description: The id of the HMO client.
                primary_provider_id:
                  type: integer
                  description: The id of the primary provider.
                primary_provider_code:
                  type: string
                  description: The code of the primary provider.
                middle_name:
                  type: string
                  description: The middle name of the enrollee.
                staff_number:
                  type: string
                  description: The staff number of the enrollee.
                parent:
                  description: The principal enrollee to which a dependant is attached.
                  type: object
                  properties:
                    id:
                      type: integer
                      description: The id of the principal enrollee. Either this id or principal's insurance no is required to create a dependant enrollee.
                    insurance_no:
                      type: string
                      description: The insurance number of the principal enrollee. This must be a unique value. Either this or principal ID is required to create a dependant enrollee.
      parameters:
      - in: query
        name: update_if_exists
        description: If true, update an existing enrollee with the same insurance number. If false, return a duplicate validation message.
        required: false
        schema:
          type: boolean
      responses:
        '201':
          description: Success
          content:
            application/json:
              schema:
                properties:
                  enrollee_id:
                    type: integer
                type: object
        '400':
          description: Bad Request
        '401':
          description: Unauthenticated
        '403':
          description: Forbidden
        '422':
          description: Unprocessable Entity
        '500':
          description: Server Error
  /v1/enrollees/{enrollee_id}/facial-verification-url:
    post:
      tags:
      - Enrollees
      summary: Generate Facial Verification URL
      description: 'Generate and return a short-lived facial verification launch URL for an enrollee.


        **Note:** This feature is only available to HMOs/Insurers.


        The returned `qr_url` keeps the existing implementation shape and may be opened directly in a browser or in-app webview by the calling HMO application to initiate the hosted facial verification check-in flow.


        This request will only succeed when:

        - the enrollee belongs to the authenticated Insurer/HMO

        - the provider is linked to the authenticated Insurer/HMO

        - check-in is enabled for the Insurer/HMO

        - QR verification is enabled for the Insurer/HMO'
      operationId: generate_facial_verification_url
      parameters:
      - name: enrollee_id
        in: path
        required: true
        description: The ID of the enrollee for whom the facial verification URL should be generated.
        schema:
          type: integer
          format: int64
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - provider_id
              properties:
                provider_id:
                  type: integer
                  description: The ID of the provider context to associate with the facial verification flow. The provider must be linked to the authenticated Insurer/HMO.
                expiry_in_minutes:
                  type: integer
                  description: Optional number of minutes before the generated URL expires. Defaults to 10 minutes when omitted.
                  minimum: 1
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  qr_url:
                    type: string
                    description: The generated facial verification URL. It keeps the existing implementation format, including the query parameters `token`, `expires`, and `provider`.
        '400':
          description: Bad Request (for example, check-in is not enabled for the Insurer/HMO)
        '401':
          description: Unauthenticated
        '403':
          description: Forbidden (for example, provider not linked to Insurer/HMO or QR verification feature not enabled)
        '404':
          description: Not Found (for example, enrollee not found within the authenticated Insurer/HMO scope)
        '422':
          description: Unprocessable Entity
  /v1/enrollees/{enrollee_id}/override-check-ins:
    post:
      tags:
      - Enrollees
      summary: Create Override Check-In
      description: 'Confirm an HMO-verified check-in for an enrollee at a provider.


        **Note:** This feature is only available to HMOs/Insurers.


        This endpoint is the HMO''s own check-in method. Calling it asserts that the HMO has independently confirmed or verified the enrollee through their own channels and is recording that confirmation as a valid check-in for the enrollee at the specified provider.


        The resulting check-in is recorded with `auth_type = Override`, alongside the other verification methods (OTP, facial recognition, fingerprint). Receiving this request is the HMO''s confirmation; no further approval step is required. The `reason` field captures the HMO''s verification context for audit.


        Same-day idempotency: if a check-in already exists for the `(enrollee, provider, today)`, the existing check-in is returned with HTTP `200` and no new records are created.


        This request will succeed when:

        - the enrollee belongs to the authenticated Insurer/HMO

        - the provider is linked to the authenticated Insurer/HMO

        - check-in is enabled for the Insurer/HMO

        - the HMO check-in API feature is enabled for the Insurer/HMO'
      operationId: create_override_check_in
      parameters:
      - name: enrollee_id
        in: path
        required: true
        description: The ID of the enrollee the override check-in is for.
        schema:
          type: integer
          format: int64
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - provider_id
              - reason
              properties:
                provider_id:
                  type: integer
                  description: The ID of the provider the check-in is being recorded against. The provider must be linked to the authenticated Insurer/HMO.
                reason:
                  type: string
                  maxLength: 500
                  description: Free-text context describing how the HMO verified the enrollee (for example, the verification method used, a reference number, or the staff member that confirmed). Stored on the override record for audit.
      responses:
        '201':
          description: The HMO-confirmed check-in was recorded.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      check_in_id:
                        type: integer
                      override_request_id:
                        type: integer
                      enrollee_id:
                        type: integer
                      provider_id:
                        type: integer
                      auth_type:
                        type: string
                      confirmed_at:
                        type: string
                        format: date-time
        '200':
          description: An existing same-day check-in was returned. No new records were created.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      check_in_id:
                        type: integer
                      override_request_id:
                        type:
                        - integer
                        - 'null'
                      enrollee_id:
                        type: integer
                      provider_id:
                        type: integer
                      auth_type:
                        type: string
                      confirmed_at:
                        type: string
                        format: date-time
        '400':
          description: Bad Request (for example, check-in is not enabled for the Insurer/HMO)
        '401':
          description: Unauthenticated
        '403':
          description: Forbidden (for example, the HMO check-in API feature is not enabled for the Insurer/HMO)
        '404':
          description: Not Found (for example, enrollee not found within the authenticated Insurer/HMO scope)
        '422':
          description: Unprocessable Entity (for example, missing or invalid `provider_id` or `reason`)
        '429':
          description: Too Many Requests
  /v1/enrollees/single-enrollee:
    get:
      tags:
      - Enrollees
      summary: Fetch Enrollee Details
      description: Fetch details of a single enrollee using its id or insurance_no
      operationId: fetch_single_enrollee
      parameters:
      - in: query
        name: id
        schema:
          type: integer
        description: The id of the enrollee. it is required if the insurance_no is not supplied
      - in: query
        name: insurance_no
        schema:
          type: string
        description: The insurance number of the enrollee. it is required if the id is not supplied
      - in: query
        name: include_dependants
        schema:
          type: boolean
        description: An optional boolean value to indicate if the dependants of the enrollee should be included in the response. Defaults to false
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    description: Information on response
                    type: string
                  data:
                    description: Information on the enrollee requested
                    type: object
                    properties:
                      id:
                        type: integer
                        description: This is the ID of the enrollee.
                      insurance_no:
                        type: string
                      firstname:
                        type: string
                      lastname:
                        type: string
                      middlename:
                        type: string
                      sex:
                        type: string
                      parent_insurance_no:
                        type: string
                      status:
                        type: string
                      email:
                        type: string
                      phone:
                        type: string
                      plan:
                        type: object
                        description: Enrollees current plan
                        properties:
                          id:
                            type: integer
                          name:
                            type: string
                      company:
                        type: object
                        description: Enrollees company
                        properties:
                          id:
                            type: integer
                          name:
                            type: string
                          valid_until:
                            type: string
                      photo:
                        type: object
                        description: Enrollees profile image
                        properties:
                          preview_url:
                            type: string
                            description: A thumbnail rendering of enrollee photo
                          full_url:
                            type: string
                            description: Enrollee full image
                      primary_provider:
                        type: object
                        description: Enrollees primary provider
                        properties:
                          code:
                            type: string
                            description: Code used to identify the provider for your Insurer
                          id:
                            type: integer
                          name:
                            type: string
                      insurer:
                        type: object
                        description: Enrollees HMO
                        properties:
                          code:
                            type: string
                            description: Code used to identify the Insurer for your provider
                          id:
                            type: integer
                          name:
                            type: string
        '400':
          description: Bad Request
        '401':
          description: Unauthenticated
        '403':
          description: Forbidden
        '422':
          description: Unprocessable Entity
        '500':
          description: Server Error
  /v1/enrollees/single-enrollee/benefits:
    get:
      tags:
      - Enrollees
      summary: Fetch Enrollee Benefits
      description: Fetch the plan benefits of a single enrollee
      operationId: fetchEnrolleeBenefits
      parameters:
      - in: query
        name: id
        schema:
          type: integer
        description: The ID of the enrollee. It is required if the insurance_no is not supplied
      - in: query
        name: insurance_no
        schema:
          type: string
        description: The insurance number of the enrollee. It is required if the id is not supplied
      - in: query
        name: page
        schema:
          type: integer
        description: '**The presence of this param would return results in paginated format**

          **Better used together with the ''per_page'' param**


          This is used to indicate the offset from which results are fetched in paginated format.'
      - in: query
        name: per_page
        schema:
          type: integer
        description: '**Better used together with the ''page'' param**


          This is used to indicate the how many results are to be in an offset for pagination.'
      - in: query
        name: search
        schema:
          type: string
        description: 'This is used to search for benefits attached to enrollee''s plan by the key word supplied to it.


          The search is applied to the benefit''s name.'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    description: A paginated array of benefits attached to the enrollee's plan.
                    type: array
                    items:
                      type: object
                      description: Enrollee's Plan benefit
                      properties:
                        id:
                          type: integer
                        type:
                          type: string
                        name:
                          type: string
                        limit_type:
                          type: string
                        limit_value:
                          type: number
        '400':
          description: Bad Request
        '401':
          description: Unauthenticated
        '403':
          description: Forbidden
        '422':
          description: Unprocessable Entity
        '500':
          description: Server Error
  /v1/enrollees/single-enrollee/utilization:
    get:
      tags:
      - Enrollees
      summary: Sum Of An enrollees Utilization over a period
      description: Fetch details of a single enrollee utiization using it's id or insurance_no and a period range.
      operationId: fetch_enrollee_utilization
      parameters:
      - in: query
        name: enrollee_id
        schema:
          type: integer
        description: The id of the enrollee. it is required if the insurance_no is not supplied
      - in: query
        name: insurance_no
        schema:
          type: string
        description: The insurance number of the enrollee. it is required if the id is not supplied
      - in: query
        name: start_date
        schema:
          type: string
        description: 2023-06-28| This is required and indicates what date to start the summation from and beginning of a range period.
      - in: query
        name: end_date
        schema:
          type: string
        description: 2024-10-28| This is required and indicates what date to end the summation from and end of a range period.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    description: Information on response
                    type: string
                  data:
                    description: Result of request
                    type: array
                    properties:
                      amount:
                        type: integer
        '401':
          description: Unauthenticated
        '403':
          description: Forbidden
        '404':
          description: Not Found
  /v1/enrollees/{id}/change-status:
    put:
      tags:
      - Enrollees
      summary: Change Enrollee Status
      description: Change the status of an enrollee. **Note:** This feature is only available to HMOs/Insurers.
      operationId: update_enrollee
      parameters:
      - name: id
        in: path
        description: Enrollee ID
        required: true
        schema:
          type: integer
          format: int64
      requestBody:
        required: true
        content:
          application/json:
            schema:
              required:
              - status
              properties:
                status:
                  type: string
                  description: 'The new status of the enrollee. The code is what is expected. Possible values are: AA (ACTIVE), IA (IN-ACTIVE), SX (SUSPENDED), XX (TERMINATED), PP (PENDING), WP (WAITING PERIOD).'
                  enum:
                  - AA
                  - IA
                  - SX
                  - XX
                  - PP
                  - WP
                effective_from:
                  type: string
                  description: The date when the new status should take effect. If null, the new status takes effect immediately."
                  format: date
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                properties:
                  enrollee_id:
                    type: integer
        '401':
          description: Unauthenticated
        '403':
          description: Forbidden
        '422':
          description: Unprocessable Entity
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