List insurer enrollees
curl --request GET \
--url https://api.clinikehr.com/v1/clinics/{clinic_id}/insurance/enrollees \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.clinikehr.com/v1/clinics/{clinic_id}/insurance/enrollees', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.clinikehr.com/v1/clinics/{clinic_id}/insurance/enrollees"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"insurance_company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"insurance_no": "<string>",
"status": "AA",
"patient_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"alternate_insurance_no": "<string>",
"firstname": "<string>",
"middlename": "<string>",
"lastname": "<string>",
"sex": "<string>",
"birthdate": "2023-12-25",
"status_effective_from": "2023-12-25",
"valid_until": "2023-12-25",
"plan": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"code": "<string>"
},
"parent_enrollee_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"parent_relationship": "<string>",
"staff_number": "<string>",
"primary_provider_code": "<string>",
"is_floating": true,
"verified_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"has_more": true,
"next_cursor": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"detail": "<string>",
"errors": [
{
"pointer": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"detail": "<string>",
"errors": [
{
"pointer": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"detail": "<string>",
"errors": [
{
"pointer": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"detail": "<string>",
"errors": [
{
"pointer": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"detail": "<string>",
"errors": [
{
"pointer": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"detail": "<string>",
"errors": [
{
"pointer": "<string>",
"message": "<string>"
}
]
}HMO insurance
List insurer enrollees
Permission: insurance.enrollees:read
List the enrollees of your insurer.
For an organization the clinic linked to an insurer: that insurer’s enrollees at this clinic. To verify an enrollee, send insurance_no (it also matches the alternate number). A clinic-owned key sees every insurer’s enrollees. An organization with no insurer link is refused (hmo_not_linked); a clinic on the US insurance setup is refused (insurance_region_unsupported). A restricted patient’s enrollee record is never returned.
GET
/
v1
/
clinics
/
{clinic_id}
/
insurance
/
enrollees
List insurer enrollees
curl --request GET \
--url https://api.clinikehr.com/v1/clinics/{clinic_id}/insurance/enrollees \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.clinikehr.com/v1/clinics/{clinic_id}/insurance/enrollees', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.clinikehr.com/v1/clinics/{clinic_id}/insurance/enrollees"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"insurance_company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"insurance_no": "<string>",
"status": "AA",
"patient_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"alternate_insurance_no": "<string>",
"firstname": "<string>",
"middlename": "<string>",
"lastname": "<string>",
"sex": "<string>",
"birthdate": "2023-12-25",
"status_effective_from": "2023-12-25",
"valid_until": "2023-12-25",
"plan": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"code": "<string>"
},
"parent_enrollee_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"parent_relationship": "<string>",
"staff_number": "<string>",
"primary_provider_code": "<string>",
"is_floating": true,
"verified_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"has_more": true,
"next_cursor": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"detail": "<string>",
"errors": [
{
"pointer": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"detail": "<string>",
"errors": [
{
"pointer": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"detail": "<string>",
"errors": [
{
"pointer": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"detail": "<string>",
"errors": [
{
"pointer": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"detail": "<string>",
"errors": [
{
"pointer": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"detail": "<string>",
"errors": [
{
"pointer": "<string>",
"message": "<string>"
}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Query Parameters
Maximum string length:
64Available options:
AA, IA, SX, XX, PP, WP Required range:
1 <= x <= 100