Directories API
Preview bill delivery
Read delivery choices and a recommended route before submitting a bill.
https://app.mindbill.org/partner/v2/delivery-previewShow routing choices after the user selects a claims administrator and payer. getDeliveryPreview() calls this endpoint. For an existing bill, getDeliveryOptions() uses /bills/{billId}/delivery-options with bills:read instead.
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.
Query parameters
claimsAdministratorIdRequiredstringSelected claims-administrator directory id.
payerIdstringSelected payer-choice key from the search response's payers[].key.
injuryStatestringTwo-letter state code; default CA.
Examples
curl 'https://app.mindbill.org/partner/v2/delivery-preview?claimsAdministratorId=admin_example&payerId=payer_example&injuryState=CA' \
--header "Authorization: Bearer $MINDBILL_API_KEY"curl 'https://app.mindbill.org/partner/v2/delivery-preview?claimsAdministratorId=admin_example&payerId=payer_example&injuryState=CA' \
--header "Authorization: Bearer $MINDBILL_BROWSER_TOKEN" \
--header 'Origin: https://your-app.example'Response
200 OK
{
"payerName": "Example Insurance",
"options": [],
"contacts": {
"claimsEmail": "billing@example.com"
}
}payerNamestringResolved payer display name. No data wrapper.
recommendedobjectRecommended option, when one is available; has the same shape as options[].
options[]object[]Available submission options. Portal routes are excluded.
options[].route / label / detailstringDelivery route and display text.
options[].fallbackbooleanWhether this is a fallback option.
options[].confidence / payerNamestringRouting confidence and payer display name.
options[].target / chKey / payerIdstringOptional destination, clearinghouse key, and routing payer ID. Routing payer IDs differ from directory selection keys.
options[].printAndMailbooleanOptional print-and-mail indicator.
options[].costUsdnumberOptional delivery cost in US dollars.
contactsobjectOptional or nullable faxNumber, claimsEmail, portalUrl, and mailingAddress properties.