Insurance

View insurance plans

GET
/insurance_plans

This endpoint returns a list of insurance plans. All filters are optional: without any filters, every insurance plan for the institution is returned. You can narrow the results by payer_id, group_num or updated_since. Soft-deleted plans are excluded unless include_deleted is true.

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
sort?string

Optional comma-separated string of fields to sort on. Include a leading dash for descending order.

Available fields:

  • updated_at
  • -updated_at
updated_since?string

Insurance plans updated at or after the specified time (UTC). The comparison is inclusive, so a record whose updated_at exactly equals the given value is returned

Formatdate-time
payer_id?string

A unique ID number that is assigned to an insurance company for the purpose of transmitting provider claims electronically

group_num?string

Filter for plans with the specified group number

include_deleted?boolean

Include soft-deleted insurance plans in the results

Defaultfalse

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

curl -X GET "https://example.com/insurance_plans?subdomain=string&updated_since=2024-04-12T10%3A30%3A00Z&payer_id=87726&group_num=12345" \  -H "Nex-Api-Version: v3.0.0"
{  "code": false,  "description": "Description",  "error": [    "Error message"  ],  "data": [    {      "id": 18,      "payer_id": "87726",      "name": "United Healthcare",      "address": "123 Law St",      "address2": "85335, North East",      "city": "New York",      "state": "NY",      "zip_code": "54700",      "country_code": "US",      "group_num": "12345",      "employer_name": "Walmart",      "foreign_id": "1",      "updated_at": "2020-06-05T20:16:57.007Z",      "deleted_at": "2024-09-15T11:21:26.003Z"    }  ],  "page_info": {    "has_previous_page": false,    "has_next_page": false,    "start_cursor": "AAAAA",    "end_cursor": "BBBBBB"  }}