Get insurance policy by ID
curl --request GET \
--url https://api.maxcare.ai/v4/insurance-policies/{id} \
--header 'Authorization: Bearer <token>' \
--header 'X-Organization-Id: <x-organization-id>'import requests
url = "https://api.maxcare.ai/v4/insurance-policies/{id}"
headers = {
"X-Organization-Id": "<x-organization-id>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'X-Organization-Id': '<x-organization-id>', Authorization: 'Bearer <token>'}
};
fetch('https://api.maxcare.ai/v4/insurance-policies/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.maxcare.ai/v4/insurance-policies/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"X-Organization-Id: <x-organization-id>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.maxcare.ai/v4/insurance-policies/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Organization-Id", "<x-organization-id>")
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.maxcare.ai/v4/insurance-policies/{id}")
.header("X-Organization-Id", "<x-organization-id>")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.maxcare.ai/v4/insurance-policies/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Organization-Id"] = '<x-organization-id>'
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"code": "success",
"data": {
"id": "pol_a1b2c3d456784abc9def0123456789ab",
"coverageOrder": 1,
"memberId": "XYZ123456789",
"groupNumber": "GRP001",
"planName": "Blue Shield PPO",
"policyType": "PPO",
"payerName": "Blue Shield of California",
"payerCode": "BS001",
"subscriberFirstName": "Jane",
"subscriberLastName": "Doe",
"patientRelationshipToPolicyHolder": "SELF",
"copayAmount": "25.00",
"deductibleRemaining": "1250.00",
"referralRequired": false,
"policyEffectiveDate": "2025-01-01T00:00:00.000Z",
"policyEndDate": "2026-01-01T00:00:00.000Z",
"terminatedAt": null,
"eligibilityStatus": "ACTIVE",
"integrationEligibilityStatus": "Eligible",
"eligibilityVerifiedAt": "2026-08-01T12:00:00.000Z",
"payerPhone": "(800) 555-0123",
"source": "modmed",
"createdAt": "2026-03-20T18:35:10.209Z",
"updatedAt": "2026-03-23T03:15:47.285Z",
"patient": {
"id": "pat_c56103bcd39c46d39f3138dd2b5e05f6",
"mrn": "MRN-10042",
"firstName": "Sarah",
"lastName": "Johnson",
"middleName": "Marie",
"gender": "Female",
"dateOfBirth": "1985-03-15",
"email": "sarah.johnson@email.com",
"phone": "(555) 123-4567",
"createdAt": "2024-08-15T09:30:00.000Z",
"updatedAt": "2025-01-20T14:22:00.000Z"
}
}
}{
"code": "bad_request",
"message": "'id' must be a valid UUID",
"trace_id": "550e8400-e29b-41d4-a716-446655440000"
}{
"code": "unauthorized",
"message": "Invalid or missing API key",
"trace_id": "550e8400-e29b-41d4-a716-446655440000"
}{
"code": "forbidden",
"message": "Insufficient scope",
"trace_id": "550e8400-e29b-41d4-a716-446655440000"
}{
"code": "not_found",
"message": "Resource not found",
"trace_id": "550e8400-e29b-41d4-a716-446655440000"
}{
"code": "rate_limit_exceeded",
"message": "Rate limit exceeded. Maximum 1000 requests per 60 seconds.",
"trace_id": "550e8400-e29b-41d4-a716-446655440000"
}Insurance Policies
Get insurance policy by ID
Returns a single insurance policy by ID. Requires read:insurance_policies scope.
GET
/
insurance-policies
/
{id}
Get insurance policy by ID
curl --request GET \
--url https://api.maxcare.ai/v4/insurance-policies/{id} \
--header 'Authorization: Bearer <token>' \
--header 'X-Organization-Id: <x-organization-id>'import requests
url = "https://api.maxcare.ai/v4/insurance-policies/{id}"
headers = {
"X-Organization-Id": "<x-organization-id>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'X-Organization-Id': '<x-organization-id>', Authorization: 'Bearer <token>'}
};
fetch('https://api.maxcare.ai/v4/insurance-policies/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.maxcare.ai/v4/insurance-policies/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"X-Organization-Id: <x-organization-id>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.maxcare.ai/v4/insurance-policies/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Organization-Id", "<x-organization-id>")
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.maxcare.ai/v4/insurance-policies/{id}")
.header("X-Organization-Id", "<x-organization-id>")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.maxcare.ai/v4/insurance-policies/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Organization-Id"] = '<x-organization-id>'
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"code": "success",
"data": {
"id": "pol_a1b2c3d456784abc9def0123456789ab",
"coverageOrder": 1,
"memberId": "XYZ123456789",
"groupNumber": "GRP001",
"planName": "Blue Shield PPO",
"policyType": "PPO",
"payerName": "Blue Shield of California",
"payerCode": "BS001",
"subscriberFirstName": "Jane",
"subscriberLastName": "Doe",
"patientRelationshipToPolicyHolder": "SELF",
"copayAmount": "25.00",
"deductibleRemaining": "1250.00",
"referralRequired": false,
"policyEffectiveDate": "2025-01-01T00:00:00.000Z",
"policyEndDate": "2026-01-01T00:00:00.000Z",
"terminatedAt": null,
"eligibilityStatus": "ACTIVE",
"integrationEligibilityStatus": "Eligible",
"eligibilityVerifiedAt": "2026-08-01T12:00:00.000Z",
"payerPhone": "(800) 555-0123",
"source": "modmed",
"createdAt": "2026-03-20T18:35:10.209Z",
"updatedAt": "2026-03-23T03:15:47.285Z",
"patient": {
"id": "pat_c56103bcd39c46d39f3138dd2b5e05f6",
"mrn": "MRN-10042",
"firstName": "Sarah",
"lastName": "Johnson",
"middleName": "Marie",
"gender": "Female",
"dateOfBirth": "1985-03-15",
"email": "sarah.johnson@email.com",
"phone": "(555) 123-4567",
"createdAt": "2024-08-15T09:30:00.000Z",
"updatedAt": "2025-01-20T14:22:00.000Z"
}
}
}{
"code": "bad_request",
"message": "'id' must be a valid UUID",
"trace_id": "550e8400-e29b-41d4-a716-446655440000"
}{
"code": "unauthorized",
"message": "Invalid or missing API key",
"trace_id": "550e8400-e29b-41d4-a716-446655440000"
}{
"code": "forbidden",
"message": "Insufficient scope",
"trace_id": "550e8400-e29b-41d4-a716-446655440000"
}{
"code": "not_found",
"message": "Resource not found",
"trace_id": "550e8400-e29b-41d4-a716-446655440000"
}{
"code": "rate_limit_exceeded",
"message": "Rate limit exceeded. Maximum 1000 requests per 60 seconds.",
"trace_id": "550e8400-e29b-41d4-a716-446655440000"
}