---
title: "Create insurance coverage (beta)"
method: POST
path: "/insurance_coverages"
tags: ["Insurance"]
---

# Create insurance coverage (beta)

`POST /insurance_coverages`

## Request

- Base URL: `https://nexhealth.info`
- URL: `https://nexhealth.info/insurance_coverages`
- Auth: API key in header `Authorization`

> 🚧 Beta
>
> Send `Nex-Api-Version: v3.1.0` to use this endpoint. It is still changing, and access is limited to approved partner institutions. Contact NexHealth before you build on it.

## Query parameters

- `subdomain` string, required
- `location_id` integer, required

## Headers

- `Nex-Api-Version` string, required

## Request body

- PostInsuranceCoverages: Create insurance coverage
  - `insurance_plan_id` integer, required: ID of the insurance plan to enroll the patient in
  - `patient_id` integer, required: ID of the patient receiving the insurance coverage
  - `subscriber_id` integer: ID of the patient who holds the insurance policy. Exactly one of subscriber_id or insurance_subscription is required. Use this when the subscriber already has an active coverage for the same plan.
  - `subscription_relation` 'self' | 'spouse' | 'child' | 'employee' | 'handicap_dep' | 'signif_other' | 'injured_plaintiff' | 'life_partner' | 'dependent' | 'other': Relationship of the patient to the insurance subscriber (e.g. self, spouse, child)
  - `priority` 'primary' | 'secondary' | 'supplemental': Priority of this coverage when the patient has multiple plans (e.g. primary, secondary)
  - `insurance_subscription` object: Subscription details for a new insurance subscription. Exactly one of subscriber_id or insurance_subscription is required. Use this when no existing subscription is on file and one needs to be created.
    - `subscriber_num` string, required: Subscriber member ID as it appears on the insurance card
    - `effective_date` string, date: Date the insurance coverage becomes effective (YYYY-MM-DD)
    - `expiration_date` string, date: Date the insurance coverage expires (YYYY-MM-DD)

## Response `201`

Successful

- APIV31EntitiesInsurancePatientCoverageResponse: API_V31_Entities_Insurance_PatientCoverage_Response model
  - `code` boolean: Indicates the success or failure of the request
  - `description` string: Additional context on the request to help with debugging.
  - `error` string[]: Any errors that occur during the execution of the request.
  - `data` APIV31EntitiesInsurancePatientCoverage
    - `id` integer: Coverage ID
    - `subscription_relation` string: The relationship of this patient to the subscriber
    - `patient_id` integer: The ID of the covered patient
    - `priority` integer: The relative priority of this insurance coverage where the lowest value is the patient's primary insurance and higher values represent secondary and tertiary policies
    - `plan_id` integer: Plan ID
    - `subscriber_num` string: Subscriber number
    - `effective_date` string, date: Effective date
    - `expiration_date` string, date: Expiration date
    - `insurance_type` 'dental' | 'medical' | 'vision': The type of the insurance plan
    - `updated_at` string, date-time: Insurance Coverage update date in UTC
    - `active` boolean: Whether the insurance coverage is currently active
    - `subscriber` APIV31EntitiesInsuranceSubscriber
      - `id` integer: The subscriber's ID
      - `name` string: The subscriber's full name
      - `date_of_birth` string, nullable: The subscriber's date of birth in YYYY-MM-DD format
      - `postal_code` string, nullable: The subscriber's postal code
    - `benefits_remaining` APIV2EntitiesPrice
      - `amount` string: The currency value, in whole units (e.g. dollars)
      - `currency` string: The ISO currency code
  - `count` integer: Number of total objects, in case of collection.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/nexhealth/apis/nexhealth-api-v3-1-0-beta.md) - [All operations](https://skmtc.dev/nexhealth/apis/nexhealth-api-v3-1-0-beta/llms.txt) - [OpenAPI document](https://skmtc.dev/nexhealth/apis/nexhealth-api-v3-1-0-beta/revisions/93cb4af790a5?raw)
