Authorizations API
Preview the DWC Form RFA from a draft
Fill the official DWC Form RFA from an unsaved request and return the unsigned PDF.
POST
https://app.mindbill.org/partner/v2/rfas/draft-previewShow the user the form as typed so far, before saving. No field is required and nothing is saved, signed, or 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.
Request body
FieldTypeDescription
claimId / patientId / renderingProviderId / claimsAdminIdstringSaved records to fill from. A claimId must be one the caller can use.
requestType / expedited / rationalestring / boolean / stringRequest details printed on the form.
requestingPractice / authorizationContactobjectOptional practice and contact overrides.
items[]object[]Treatments: diagnosisCode, diagnosisDescription, serviceDescription, procedureCode, quantity, frequency, duration.
Up to 100 items; body ≤ 500 KBExamples
curl 'https://app.mindbill.org/partner/v2/rfas/draft-preview' \
--request POST \
--header "Authorization: Bearer $MINDBILL_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"claimId": "clm_example",
"patientId": "pat_example",
"renderingProviderId": "rp_example",
"items": [
{
"diagnosisCode": "M54.50",
"diagnosisDescription": "Low back pain",
"serviceDescription": "Physical therapy",
"procedureCode": "97110",
"quantity": 8,
"frequency": "2x/week",
"duration": "4 weeks"
}
]
}' \
--output rfa-draft-preview.pdfcurl 'https://app.mindbill.org/partner/v2/rfas/draft-preview' \
--request POST \
--header "Authorization: Bearer $MINDBILL_BROWSER_TOKEN" \
--header 'Origin: https://your-app.example' \
--header 'Content-Type: application/json' \
--data '{
"claimId": "clm_example",
"patientId": "pat_example",
"renderingProviderId": "rp_example",
"items": [
{
"diagnosisCode": "M54.50",
"diagnosisDescription": "Low back pain",
"serviceDescription": "Physical therapy",
"procedureCode": "97110",
"quantity": 8,
"frequency": "2x/week",
"duration": "4 weeks"
}
]
}' \
--output rfa-draft-preview.pdfResponse
200 OK
200 OK
Content-Type: application/pdf
<unsigned DWC Form RFA without the instructions page>