Authorizations API
Prepare the RFA packet for delivery
Retain an immutable signed packet for a chosen channel and recipient so the user can review its exact bytes.
https://app.mindbill.org/partner/v2/rfas/{rfaId}/delivery-previewAfter signing, prepare the packet, download it with GET /rfas/{rfaId}/packets/{packetId}, and show it to the user before submitting. Preparation does not send and works in sandbox.
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
rfaIdRequiredstringMindBill RFA identifier.
Request body
channelRequired"fax" | "email" | "download"Delivery channel for the retained packet.
tostringVerified authorization fax in E.164 format, or email address. Not used for download.
recipientNamestringRecipient or adjuster name printed on the cover; must match at submission.
1–200 charactersmessagestringCover message (and email body); must match at submission.
Up to 1,000 charactersdocumentIdsRequiredstring[]The current signed form and clinical support to include.
2–100 unique IDsExamples
curl 'https://app.mindbill.org/partner/v2/rfas/rfa_example/delivery-preview' \
--request POST \
--header "Authorization: Bearer $MINDBILL_API_KEY" \
--header 'Idempotency-Key: rfa_example-preview-1' \
--header 'Content-Type: application/json' \
--data '{
"channel": "fax",
"to": "+15555550123",
"recipientName": "Utilization Review",
"documentIds": [
"rfadoc_form_example",
"rfadoc_report_example"
]
}'curl 'https://app.mindbill.org/partner/v2/rfas/rfa_example/delivery-preview' \
--request POST \
--header "Authorization: Bearer $MINDBILL_BROWSER_TOKEN" \
--header 'Origin: https://your-app.example' \
--header 'Idempotency-Key: rfa_example-preview-1' \
--header 'Content-Type: application/json' \
--data '{
"channel": "fax",
"to": "+15555550123",
"recipientName": "Utilization Review",
"documentIds": [
"rfadoc_form_example",
"rfadoc_report_example"
]
}'Response
200 OK
{ "data": { "packetId": "rfapkt_example", "sha256": "3f1c…64 hex characters…", "contentRevision": 2 } }data.packetIdRequiredstringRetained packet identifier.
data.sha256RequiredstringHash of the retained packet bytes; required to submit.
data.contentRevisionRequiredintegerSigned content revision the packet was built from.