curl --request POST \
--url https://api.anagram.care/api/auth/v1/eligibility/ \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"insurer_code": "insurer:demo:vision",
"request_uid": "19850f24-900e-4812-8e99-6faa2397fe57",
"patient": {
"first_name": "John",
"last_name": "Smith",
"dob": "1990-01-01",
"zip": "11101"
}
}
'{
"request_uid": "af42aa113b4148ec86f3ed7324f24242"
}Authenticated API
Eligibility Request
Initiating an eligibility check for a patient
POST
/
api
/
auth
/
v1
/
eligibility
/
curl --request POST \
--url https://api.anagram.care/api/auth/v1/eligibility/ \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"insurer_code": "insurer:demo:vision",
"request_uid": "19850f24-900e-4812-8e99-6faa2397fe57",
"patient": {
"first_name": "John",
"last_name": "Smith",
"dob": "1990-01-01",
"zip": "11101"
}
}
'{
"request_uid": "af42aa113b4148ec86f3ed7324f24242"
}This call is asynchronous, it initiates an eligibility search and returns a UID assigned to this request. The result will be returned in two ways:
- Via active webhooks once available - preferred. Request UID will be included in payload.
- By calling the “Eligibility Result” endpoint - only to be used as fallback. Request UID is required.
Authorizations
Body
application/json
Allows searching several insurers at once (Universal Search). When omitted, Anagram will search all insurers available for your account (Recommended). Alternatively, can explicitly list the insurers you want to search. Example: ["insurer:vision:vsp", "insurer:vision:eyemed"]