Quickstart
This tutorial creates a deterministic sandbox authorization with
quickstart_receipt, patches starter answers, attaches a supporting PDF, and
confirms the current action when the API asks for confirmation.
The REST API is the canonical integration surface. The SDKs are in beta and are
covered separately in the SDK guides. You finish with an Authorization ID
your system can poll until the case needs another action, waits on the payer,
completes, or is canceled.
Before you start
You need:
- a sandbox API key
curlandjq
Fetch the scenario
Load the scenario from the public sandbox catalog. The catalog is the source of truth for the provider NPI, request tuple, policy, expected observations, and timeout.
Create an authorization
Create one authorization for one payer submission. Use a fresh idempotency key for each new create request. The create body is production-shaped; the sandbox scenario includes starter answers for this example.
Save the returned ID and version. You will use version as If-Match on
mutable authorization writes.
Patch starter answers
If the authorization asks for requirements, patch the answers you already have. Omitted fields are left unchanged. This quickstart reuses the scenario answers so the authorization stays aligned with the selected scenario.
In a real integration, use the returned questionnaire as the source of
valid linkIds and answer shapes. The sandbox catalog explains what each
scenario may ask for; it does not replace the authorization questionnaire.
Attach a PDF
Upload a PDF as a File, complete the upload, then link it as an
attachment.
See Attaching files for production upload handling.
Next Steps
- Use Choose a route and create before creating real cases.
- Use Resolve requirements to map questionnaire items to answers.
- Use Attaching files for production upload handling.
- Use Production readiness before sending live traffic.
- Use SDKs only if your organization is participating in the SDK beta.