API reference
Component API inventory
The shared business routes called by @mindbill/browser and the connected React components, including lookups available before a bill exists.
Use this inventory to see which APIs power the components when building your own UI. The routes below use the base URL https://app.mindbill.org. SDK methods can unwrap or normalize responses; their return values are not always identical to raw HTTP JSON.
Authentication and scope
Your backend creates a browser session with the permissions required for the current user. Browser requests send Authorization: Bearer <session token> and the exact Origin authorized for that session. Keep the long-lived server API key on your backend.
The components use GET /partner/v2/bill-dashboard for page-based lists, filters, and totals. GET /partner/v2/bills retains its cursor-based synchronization contract. Both endpoints accept either credential.
Use an organization-wide session for bill entry, bill lists, task dashboards, reports, organization settings, and RFAs. RFA access also requires the organization’s treatmentBilling feature and appropriate rfas permissions. For an existing-bill workflow, a bill-restricted session limits access to its allowed bill IDs. Grant only the permissions that the workflow needs; organization:manage allows billing-profile and custom-administrator writes. Team access separately requires team:manage, delegated from orgs:team:write; it manages existing MindBill accounts, not host-app accounts. Meanwhile, the bill-entry profile read uses bills:create.
Directories and delivery preview
/partner/v2/claims-administratorsBrowse or search claims administrators, payer choices, and matching hints before a bill exists.
Session permission: payers:read
SDK methods: listClaimsAdministrators, searchClaimsAdministrators
/partner/v2/claims-administrators/{id}Read a directory profile with contacts, instructions, payer information, and claim-number patterns.
Session permission: payers:read
SDK methods: getClaimsAdministratorDirectory
/partner/v2/diagnosis-codesSearch ICD-10-CM codes by code or description with offset pagination.
Session permission: payers:read
SDK methods: searchDiagnosisCodes
/partner/v2/postal-codesLook up the city and state for a US ZIP code.
Session permission: payers:read
SDK methods: lookupPostalCode
/partner/v2/delivery-previewPreview delivery options for a selected claims administrator and payer before submission; the final route is resolved at submission.
Session permission: payers:read
SDK methods: getDeliveryPreview
Organization settings
/partner/v2/organization/teamList existing MindBill accounts and permitted role choices; does not list host-app accounts.
Session permission: team:manage
SDK methods: createOrganizationClient().getTeam
/partner/v2/organization/team/{id}Update an eligible existing MindBill account role or active state; no account creation.
Session permission: team:manage
SDK methods: createOrganizationClient().updateTeamMember
/partner/v2/organization/claims-administratorsList active organization-specific claims administrators.
Session permission: organization:manage
SDK methods: createOrganizationClient().getClaimsAdministrators
/partner/v2/organization/claims-administratorsCreate a custom fax, email, or mail destination.
Session permission: organization:manage
SDK methods: createOrganizationClient().createClaimsAdministrator
/partner/v2/organization/claims-administrators/{id}Update a custom destination and its contact details.
Session permission: organization:manage
SDK methods: createOrganizationClient().updateClaimsAdministrator
/partner/v2/organization/claims-administrators/{id}Remove a custom destination from future choices while preserving bill snapshots.
Session permission: organization:manage
SDK methods: createOrganizationClient().deleteClaimsAdministrator
/partner/v2/organizationRead the organization's profile, providers, locations, W-9 metadata, and onboarding checklist.
Session permission: organization:manage
SDK methods: getOrganization
/partner/v2/organization/billing-profileRead saved billing profiles for bill entry with an organization-wide session; sensitive stored tax identifiers remain masked.
Session permission: bills:create
SDK methods: getBillingProfile
/partner/v2/organization/billing-profileUpdate practice identity and upsert billing or rendering providers by id or externalId; omitted records remain saved.
Session permission: organization:manage
SDK methods: saveBillingProfile
/partner/v2/organization/locationsUpsert locations by id or externalId without deleting omitted locations.
Session permission: organization:manage
SDK methods: saveLocations
/partner/v2/organization/w9Upload the organization's current W-9 as a base64 PDF, up to 10 MB, with an optional tax year.
Session permission: organization:manage
SDK methods: saveW9
Requests for Authorization
/partner/v2/browser/rfas/creation-contextSearch saved patient claims and active rendering providers for an unsigned draft, with separate cursors. Browser-session-only route; requires an organization-wide session and treatment access.
Session permission: rfas:create
SDK methods: createRfaClient().getCreationContext
/partner/v2/rfasList authorization requests with filtered status totals and cursor pagination. Requires an organization-wide session and treatment access.
Session permission: rfas:read
SDK methods: createRfaClient().list
/partner/v2/rfas/{rfaId}Read the authorization request, item decisions, and delivery evidence.
Session permission: rfas:read
SDK methods: createRfaClient().get
/partner/v2/rfasSave an unsigned authorization draft using a stable idempotency key. Does not sign or send a fax.
Session permission: rfas:create
SDK methods: createRfaClient().createDraft
/partner/v2/rfas/{rfaId}/documents/{documentId}Download a stored RFA document within the authorized organization.
Session permission: documents:read
SDK methods: createRfaClient().getDocument
/partner/v2/rfas/{rfaId}/documentsUpload a clinical or supporting PDF with content revision and a stable idempotency key.
Session permission: rfas:edit
SDK methods: createRfaClient().uploadDocument
/partner/v2/rfas/{rfaId}/signing-previewPrepare the exact form snapshot for human review before signing.
Session permission: rfas:sign
SDK methods: createRfaClient().prepareSigning
/partner/v2/rfas/{rfaId}/signApply the saved physician signature after authorized human review of the exact snapshot.
Session permission: rfas:sign
SDK methods: createRfaClient().sign
/partner/v2/rfas/{rfaId}/packetPreview the assembled stored documents and generated fax cover; sends nothing.
Session permission: rfas:read
SDK methods: createRfaClient().previewPacket
/partner/v2/rfas/{rfaId}/faxExplicitly send the reviewed packet to a confirmed fax destination with a stable idempotency key.
Session permission: rfas:act
SDK methods: createRfaClient().sendFax
/partner/v2/rfas/{rfaId}/fax/refreshReconcile existing fax delivery evidence without sending another transmission.
Session permission: rfas:act
SDK methods: createRfaClient().refreshFaxes
Bills, documents, and reports
/partner/v2/reports/paymentsReview confirmed payment entries and filtered totals; requires an organization-wide session. Pending EOR/835 amounts and historical legacy entries are excluded.
Session permission: bills:read
SDK methods: getPaymentReview
/partner/v2/billsSubmit a complete bill, including its supporting documents, from an organization-wide browser session.
Session permission: bills:create
SDK methods: submitBill
/partner/v2/bill-dashboardList and filter the partner's bills in the session organization; requires an organization-wide session. Use renderingProviderId from filters.renderingProviders for a rendering-doctor filter.
Session permission: bills:read
SDK methods: getBills
/partner/v2/bills/{billId}/statusRead the status snapshot used by the connected bill status component.
Session permission: bills:read
SDK methods: getStatus
/partner/v2/bills/{billId}/lifecycleLoad the bill's timeline, balance, documents, payments, and available follow-up actions.
Session permission: bills:read
SDK methods: getLifecycle
/partner/v2/bills/{billId}/actionsPerform a supported bill action, including notes, close/reopen, payments, second review, resubmission, a new bill, duplicates, or status reporting.
Session permission: bills:act
SDK methods: addNote, closeBill, reopenBill, postPayment, submitSecondReview, resubmitBill, submitNewBill, sendDuplicateBill, reportBillStatus
/partner/v2/sandbox/bills/{billId}/simulateSimulate a bill lifecycle outcome in sandbox; unavailable for live sessions.
Session permission: bills:act
SDK methods: simulateSandbox
/partner/v2/bills/{billId}/delivery-optionsRead the available delivery options and recommended route for an existing bill.
Session permission: bills:read
SDK methods: getDeliveryOptions
/partner/v2/bills/{billId}/documents/{attachmentId}Download a supporting attachment as PDF bytes.
Session permission: documents:read
SDK methods: getAttachment
/partner/v2/bills/{billId}/eors/{documentId}Download an explanation of review document as PDF bytes.
Session permission: eors:read
SDK methods: getEor
/partner/v2/bills/{billId}/packetDownload the bill submission packet as PDF bytes.
Session permission: bills:read
SDK methods: getPacket
/partner/v2/bills/{billId}/courtesy-forwardPreview or send a courtesy copy of an existing submission. Sending requires a stable idempotency key.
Session permission: bills:act
SDK methods: previewCourtesyCopy, sendCourtesyCopy
/partner/v2/bills/{billId}/submissions/{attemptId}/artifacts/{artifactId}Download exact retained electronic bill or attachment bytes for the selected submission. Read artifact IDs from lifecycle.submissionDetails; missing retained files return 404, never a regenerated current packet.
Session permission: bills:read
SDK methods: getSubmissionArtifact
/partner/v2/bill-tasksRead the partner's bill task dashboard, waiting items, claims-administrator and rendering-doctor filters with an organization-wide session. renderingProviderId filters both tasks and waiting bills.
Session permission: bills:read
SDK methods: getBillTasks
/partner/v2/reports/service-line-itemsRead service-line reporting for the partner's bills with optional from/to dates and an organization-wide session.
Session permission: bills:read
SDK methods: getServiceLineItems
/partner/v2/reports/productivityRead biller productivity for a required from/to date range with an organization-wide session.
Session permission: bills:read
SDK methods: getProductivity