Institutions

View institutions

GET
/institutions

This endpoint returns all institutions accessible to the authenticated API user.

Authorization

Authorization
Authorization<token>

In: header

Header Parameters

Nex-Api-Version*string

The NexHealth API version

Default"v3.0.0"

Response Body

application/vnd.Nexhealth+json;version=2

application/vnd.Nexhealth+json;version=2

application/vnd.Nexhealth+json;version=2

curl -X GET "https://example.com/institutions" \  -H "Nex-Api-Version: v3.0.0"
{  "code": false,  "description": "Description",  "error": [    "Error message"  ],  "data": [    {      "id": 1,      "name": "General Practice",      "created_at": "2020-06-05T20:16:57.007Z",      "updated_at": "2020-06-05T20:16:57.007Z",      "subdomain": "example-sandbox",      "phone_number": "2222222222",      "emrs": [        "dentrix",        "curve2"      ],      "country_code": "US",      "appointment_types_location_scoped": false,      "is_sync_notifications": true,      "notify_insert_fails": false,      "locations": [        {          "id": 7,          "name": "Default",          "street_address": "123 Law St",          "street_address_2": "85335, North East",          "city": "New York",          "state": "NY",          "zip_code": "54700",          "phone_number": "8888750851",          "email": "defaultLocation@nexhealth.com",          "inactive": false        }      ]    }  ],  "count": 2}