Insurance

View insurance coverages

GET
/insurance_coverages

This endpoint returns a list of insurance coverages. All filters are optional: without any filters, every active insurance coverage for the institution is returned. Only active coverages are included by default; pass active=false to list inactive coverages instead.

Authorization

Authorization
Authorization<token>

In: header

Query Parameters

subdomain*string

Used to scope the request to the specified institution

start_cursor?string

First item of the current page. Starts empty

end_cursor?string

Last item of the current page. Starts empty

per_page?integer

Number of results to return per page. Maximum allowed amount is 1000.

Formatint32
Default5
updated_since?string

Insurance coverages updated at or after the specified time (UTC). The comparison is inclusive and matches when either the coverage or its subscription was updated since the given time

Formatdate-time
patient_id?integer

Filter for coverages of a specific patient. Responds with a 404 when no patient with this ID exists

Formatint32
active?boolean

Filter active (true) or inactive (false) insurance coverages. Defaults to true, so inactive coverages are only returned when this is explicitly set to false

Defaulttrue

Header Parameters

Nex-Api-Version*string

The NexHealth API version

Default"v3.0.0"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/insurance_coverages?subdomain=string&updated_since=2024-04-12T10%3A30%3A00Z&patient_id=162" \  -H "Nex-Api-Version: v3.0.0"
{  "code": false,  "description": "Description",  "error": [    "Error message"  ],  "data": [    {      "id": 18,      "subscription_relation": "self",      "patient_id": 25,      "priority": 2,      "plan_id": 18,      "subscriber_num": "123456789",      "effective_date": "2022-01-01",      "expiration_date": "2022-12-31",      "insurance_type": "dental",      "updated_at": "2020-06-05T20:16:57.007Z",      "active": true    }  ],  "page_info": {    "has_previous_page": false,    "has_next_page": false,    "start_cursor": "AAAAA",    "end_cursor": "BBBBBB"  }}