Nex Staff

View Nex staff

GET
/nex_staff

This endpoint returns NexHealth staff members for the institution, optionally filtered by inactive status or location_ids.

Authorization

Authorization
Authorization<token>

In: header

Query Parameters

subdomain*string

Used to scope the request to the specified institution

page?integer

Page number. Starts with page 1

Formatint32
Default1
per_page?integer

Number of results to return per page. Defaults to 5 per page, maximum 300

Formatint32
Default5
inactive?boolean

true returns only inactive staff, false only active staff

location_ids[]?array<>

Locations the staff member has access to

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

application/vnd.Nexhealth+json;version=2

application/vnd.Nexhealth+json;version=2

curl -X GET "https://example.com/nex_staff?subdomain=string" \  -H "Nex-Api-Version: v3.0.0"
{  "code": false,  "description": "Description",  "error": [    "Error message"  ],  "data": [    {      "id": 1,      "email": "staff@nexhealth.com",      "first_name": "John",      "last_name": "Smith",      "created_at": "2020-06-05T20:16:57.007Z",      "updated_at": "2020-06-05T20:20:57.007Z",      "patientable": false,      "inst_ids": [        1,        2,        3      ],      "unsubscribe_emails": true,      "inactive": true,      "unsubscribe_sms": true,      "location_ids": [        1,        2,        3      ]    }  ],  "count": 2}