Authorizations API
Attach UR decisions to a bill
Copy chosen decision letters onto an unsent bill, or retry attaching every linked authorization.
POST
https://app.mindbill.org/partner/v2/bills/{billId}/ur-decisionsLet a biller add utilization review evidence to a treatment bill before it is sent. Safe to repeat; nothing is sent.
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
FieldTypeDescription
billIdRequiredstringMindBill bill identifier.
Request body
FieldTypeDescription
documentIdsstring[]Decision letters to copy onto the bill as supporting documents. Send this or linked.
1–8 itemslinkedtrueRetry attaching every linked RFA's signed form and decision. Send this or documentIds.
Examples
curl 'https://app.mindbill.org/partner/v2/bills/bill_example/ur-decisions' \
--request POST \
--header "Authorization: Bearer $MINDBILL_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"documentIds": [
"rfadoc_example"
]
}'curl 'https://app.mindbill.org/partner/v2/bills/bill_example/ur-decisions' \
--request POST \
--header "Authorization: Bearer $MINDBILL_BROWSER_TOKEN" \
--header 'Origin: https://your-app.example' \
--header 'Content-Type: application/json' \
--data '{
"documentIds": [
"rfadoc_example"
]
}'Response
200 OK
{ "data": { "attached": 1 } }FieldTypeDescription
data.attachedRequiredintegerNumber of documents newly attached.
data.linkedobject[]Linked authorization state after a linked=true retry.