Lifecycle API
Get the complete bill workspace
Read the immutable submitted bill snapshot, human-readable activity history, current lifecycle, EORs, payments, remittance, and payer contacts.
https://app.mindbill.org/partner/v2/bills/{billId}/lifecycleRead the immutable submitted bill snapshot, human-readable activity history, current lifecycle, EORs, payments, remittance, and payer contacts. Partners do not need to maintain a separate bill-history store.
Use this URL with a server API key or a browser session and its exact allowed Origin. Both credentials use the same request and response contract. See the component API inventory for exact paths and SDK methods.
Path parameters
billIdRequiredstringMindBill bill ID.
Examples
curl 'https://app.mindbill.org/partner/v2/bills/{billId}/lifecycle' \
--request GET \
--header "Authorization: Bearer $MINDBILL_API_KEY"curl 'https://app.mindbill.org/partner/v2/bills/{billId}/lifecycle' \
--request GET \
--header "Authorization: Bearer $MINDBILL_BROWSER_TOKEN" \
--header 'Origin: https://your-app.example'Response
200
Response fields are documented below.dataRequiredobjectdata
data.environmentRequiredstringCredential environment used to load this lifecycle.
data.billRequiredobjectThe same immutable submitted bill snapshot returned by the bill-review surface.
data.patientRequiredobjectpatient
data.injuryRequiredobjectinjury
data.optionsobjectDisplay metadata retained for compatible embedded components.
data.lifecycleRequiredobjectlifecycle
data.eorsRequiredobject[]eors
data.attemptsRequiredobject[]Immutable delivery attempts in the logical bill chain, oldest first. Every successful transmission, including Second Review, is a separate row even when it reuses the same bill record.
data.historyRequiredobject[]One chronological timeline spanning every delivery attempt. Each row identifies its correction-chain member bill record via attemptId.
data.activityRequiredobject[]activity
data.paymentsRequiredobject[]payments
data.remittanceRequiredobjectremittance
data.deliveryRequiredobjectdelivery