Patient
GET /v3/company/{companyIdentification}/patients/{externalId}
Returns the patient owned by the CompanyClient plus the patient-to-payor relationships.
{
"requestId": "00-abc123",
"version": "v3",
"data": {
"companyIdentification": "1174762973",
"externalId": 123456,
"firstName": "JOHN",
"lastName": "DOE",
"DOB": "1990-05-10",
"gender": "M",
"ssn": "123456789",
"cardControlId": "ABC123",
"active": true,
"tags": ["VIP"],
"payors": [
{
"payorId": 2,
"payorDescription": "STATE OF FLORIDA MEDICAID [77027]",
"active": true,
"memberID": "8662267254",
"criteriaId": 3,
"criteriaDescription": "First Name, Last Name, Date of Birth and Gender",
"frequency": {
"type": "Everyday"
}
}
]
}
}
PATCH /v3/company/{companyIdentification}/patients/{externalId}
Applies partial updates to the patient. Omitted top-level fields keep their current value.
tags use replace semantics only when they are sent:
omit them to keep the current collection, or send an empty array to clear them.
payors are incremental:
each payor sent in the request is created or updated, and omitted payors are left untouched.
The patient active flag also lives here, so there is no separate public status route.
Each patient-payor item identifies its target relationship with the fixed EligiPro payorId returned by
GET /payors. The payor must be an active CompanyClient to CompanyPayor relationship.
A patch request may contain only the payors block when the partner wants to add or update
one patient-to-payor relationship without changing demographics.
If active is omitted in PATCH, the current patient state is preserved.
If a payor entry omits active, the current payor relationship state is preserved when that relationship already exists.
If the patch adds a brand-new payor relationship and omits active, V3 creates it as active.
If a payor entry omits frequency, the current schedule is preserved when that relationship already exists.
If the patch adds a brand-new payor relationship and omits frequency, V3 applies the default schedule configured for that payor relationship.
If that CompanyClient to CompanyPayor relationship has no stored default yet, V3 applies the super-default:
every day for payors of type 2, or day 1 of the month for other payors.
If a partner explicitly sends frequency for a payor of type 2, the API normalizes it to every day instead of rejecting the request.
Creating or updating a patient can return 409 Conflict with
COMPANY_PATIENT_PLAN_LIMIT_REACHED when the change would add an active patient with an active
type 2 payor beyond the company plan plus its two-patient tolerance.
A configured patient plan of 0 is unlimited.
{
"payors": [
{
"payorId": 307,
"active": true,
"memberID": "W240162249",
"criteriaId": 5,
"frequency": {
"type": "DaysOfMonth",
"daysOfMonth": [1, 15]
}
}
]
}
POST /v3/company/{companyIdentification}/patients
Creates a new patient for the target CompanyClient.
Creation is atomic: the patient and its initial patient-to-payor relationships are created together.
The request must include at least one payor.
When a payor includes frequency, the request only needs a semantic type plus the relevant day fields.
In responses, daysOfWeek and daysOfMonth are omitted when they do not apply.
Retrying a patient creation (QA preview)
The Idempotency-Key header is optional. Existing integrations
do not need to change. Without a key, success returns 201 Created with the full patient and
a repeat for an existing externalId returns 409. To recover from a lost
response, generate an opaque UUID before the first POST, save it with the request in
your system, and send it as Idempotency-Key. Do not put patient data in the key.
It is case-sensitive: 1 to 128 ASCII letters, digits, periods, hyphens or underscores.
POST /v3/company/0042/patients
Idempotency-Key: fdf4b7e2-65c8-4aa2-bdf0-1bcb44607127
Content-Type: application/json
{"externalId":17,"gender":"M","payors":[{"payorId":8,"memberID":"DEMO17"}]}
Include the usual credentials and the fields required by your payor. On a retry use the same company, key and patient body, but generate a fresh timestamp, nonce and signature. The key is not part of the signing string. Changing whitespace or JSON property order alone does not change the request identity; preserve array order.
HTTP 201 Created
Location: /v3/company/0042/patients/17
Idempotency-Replayed: false
{"requestId":"example-1","version":"v3","data":{"companyIdentification":"0042","externalId":17}}
With a key, both first success and replay return this creation receipt,
not demographics or payors. On replay the header is true, the HTTP requestId
is new, and the receipt and Location are unchanged. A replay does not restore or modify
a patient edited since creation. GET the Location to retrieve current data.
Two idempotency conflicts: which one should I retry?
Both return 409 Conflict with the same title. Read the detail;
the status alone is not a reason to retry. The request IDs below are illustrative.
1. Creation in progress: retry the original request. For example, two workers send the request above with the same key while the first creation is still running. The overlapping request can receive:
{
"title": "Patient create conflicts with business rules",
"status": 409,
"detail": "Patient creation is in progress. Retry with the same key and body.",
"requestId": "example-in-progress"
}
Wait briefly, then retry with the same key and unchanged body. Sign the retry
with a new timestamp and nonce. Once the original creation succeeds, a retry within
24 hours returns 201 Created, Idempotency-Replayed: true and the
original Location. It does not create another patient or payor relationship.
2. Key used for different content: do not retry the changed POST. For
example, after the request above succeeds, send the same key and externalId
but change gender from M to F:
{
"title": "Patient create conflicts with business rules",
"status": 409,
"detail": "This key belongs to a different patient creation request.",
"requestId": "example-different-content"
}
The change was not applied. If you lost the original response, resend the original
body and key to recover its receipt. If you meant to correct this patient, GET the
original Location and PATCH that patient. Use a new key only for a genuinely
separate creation, not to bypass this conflict.
Other outcomes:
- 409, patient already exists: a matching externalId alone is never proof that this key created the patient. Use GET to reconcile. A failed validation or rolled-back creation does not consume the key.
- 503 or lost connection: retry with the same key and body, not a fresh key. A receipt can be recovered for 24 hours after creation. After expiry the POST is evaluated as a new creation, not a guaranteed replay; check the current patient first.
Postman: set patientCreateIdempotencyKey for either Create Patient example in QA.
Leave it blank for the existing full-response contract. The force-check and redelivery keys
do not govern patient creation.
Public create rules:
- If
activeis omitted, V3 assumestrue. - Demographic fields such as
firstName,lastName,DOB, andgenderare not universally required by the HTTP contract. - When
genderis supplied, useMorF. For input compatibility,maleandfemaleare also accepted, case-insensitively, and are normalized toMandF. - Each requested payor must already be related and active for the target company.
- The minimum patient fields required for each payor depend on the selected or inferred
criteriaId. - If
criteriaIdis omitted, V3 tries to infer it from the patient data andmemberID. - If a payor omits
active, V3 creates that patient-to-payor relationship astrue. - If
frequencyis omitted, V3 applies the default schedule configured for that payor relationship, or the super-default when no stored default exists yet. - If a partner sends
frequencyfor a payor of type2, the API silently normalizes it to every day.
{
"externalId": 123456,
"firstName": "JOHN",
"lastName": "DOE",
"DOB": "1990-05-10",
"gender": "M",
"ssn": "123456789",
"cardControlId": "ABC123",
"tags": ["VIP"],
"payors": [
{
"payorId": 307,
"active": true,
"memberID": "W240162249",
"criteriaId": 5,
"frequency": {
"type": "DaysOfMonth",
"daysOfMonth": [1, 15]
}
}
]
}
DELETE /v3/company/{companyIdentification}/patients/{externalId}/payors/{payorId}
Removes a single patient-to-payor relationship. Replace {payorId} with the fixed identifier
returned by GET /payors. It is a required route segment, not an optional query parameter.
V3 rejects the request if that relationship is the last remaining payor for the patient.
Successful patient and patient-payor changes made through POST, PATCH, and DELETE
are also reflected in EligiPro Activity Logs.
Patient payor force check
POST /v3/company/{companyIdentification}/patients/{externalId}/payors/{payorId}/check
Forces a fresh eligibility check for one stored patient-to-payor relationship. This route uses the patient demographics and patient-payor search criteria already persisted in EligiPro, so it does not require a request body.
Replace {payorId} with the fixed identifier returned by GET /payors. It is required in
the path and is never supplied as a query parameter for this operation.
Without an Idempotency-Key, every POST requests a new check, even if the
previous response was lost. Repeating the same patient and payor IDs alone does not protect against duplicates.
Retry a force check safely (QA preview)
Generate one opaque key (a UUID works) for each check you intend to make. Save it before sending. Use the same key only to retry that check, not for a later check after changing the patient or payor. Do not put patient information in the key. Use 1 to 128 ASCII letters, digits, hyphens, underscores or periods. Send no body or query parameters.
POST /v3/company/0042/patients/17/payors/8/check
Idempotency-Key: 418fe402-bb53-436b-b604-52cdcdc7aab1
Include the usual API credentials. For signed requests, generate a fresh timestamp, nonce and signature on every attempt, including retries. The key is not part of the signing string; it identifies the intended operation, not the individual HTTP request.
- Completed: retrying returns the original result (including a business 400 or 404) with a new requestId for this HTTP request. REALTIME returns the original eligibilityId; SFTP does not enqueue another file. Access to the company is checked again.
- 409: if the original is running, wait for Retry-After and repeat the same request with the same key. If the key belongs to another patient or payor in this company, correct the request; do not retry a different operation with that key.
- 503 or lost response: retry with the same key, never an unkeyed POST. If the outcome cannot be confirmed, contact support with the requestId. EligiPro does not automatically reissue an uncertain check.
- Time limit: a completed result is retained for replay for 24 hours after completion. After that, the same key can start a new check. If 24 hours have passed and the outcome matters, reconcile first rather than retrying blindly.
Keys are case-sensitive and scoped to this partner, company and force-check operation. In
Postman, set forceCheckIdempotencyKey in QA; leave it blank for an ordinary fresh
check. This is not a global header for every API write.
The response statusCode explains the outcome:
REALTIME: the payor responded immediately and EligiPro created a new eligibility row. In this caseeligibilityIdandstatusCreateDateare populated.SFTP: EligiPro queued an asynchronous raw eligibility request for file-based processing, so there is no immediateeligibilityId.REQUEST_NOT_ALLOWED: the stored patient-payor relationship is not currently eligible for a forced check, such as an inactive patient, inactive patient-payor relationship, or inactive payor relationship.NO_RESPONSE_AVAILABLE: no immediate result was produced and no asynchronous request was queued.INTERNAL_ERROR: EligiPro encountered an internal error while attempting the force check.
When statusCode=REALTIME, use eligibilityId to retrieve the full compact detail through
GET /v3/company/{companyIdentification}/eligibility/{eligibilityId}.
{
"requestId": "00-abc123",
"version": "v3",
"data": {
"companyIdentification": "1174762973",
"externalId": 123456,
"payorId": 307,
"statusCode": "REALTIME",
"eligibilityId": 144688618,
"statusCreateDate": "2026-04-01T09:49:11",
"benefitPlan": "With Coverage",
"planName": "Aetna PPO",
"providerName": "Aetna",
"hasTPL": false
}
}
GET /v3/auth/info is also the one authenticated V3 route that never requires
X-EligiPro-Timestamp, X-EligiPro-Nonce, or
X-EligiPro-Signature.