ePA Quick Start
Get started with electronic prior authorization—from registration and authentication through your first prior authorization request. This Quick Start guide outlines the recommended sequence of steps, explains the purpose of each ePA API, and provides links to API endpoints, API guides, and sample requests and responses.
Overview
Electronic prior authorization (ePA) uses four Da Vinci APIs that work together as a single end-to-end flow. Register once to access all four APIs, obtain an access token, and follow the integration steps below. All sandbox interactions use synthetic data.
Register Your EHR SystemBefore you start
Open App Registration, choose EHR Systems and select the Prior Authorization (ePA) Bundle. It selects CRD, DTR, PAS Submission, PAS Inquiry and CDex together.
Configure your security credentials by providing a public key using either a JWKS URL or JWK Set. Ensure the public key corresponds to the private key your application will use to sign requests, and select the appropriate signing algorithm.
Verify your email address using the verification code sent during registration. Save the Client ID displayed on the confirmation page for future authentication requests.
After your registration is approved, credentials and the FHIR Base URL will be sent to your registered business email address.
ePA Workflow: Step by Step
Obtain an Access Token
Sign a short-lived JWT with your private key and exchange it at the token endpoint using the
client_credentialsgrant. Include the returnedaccess_tokenas theBearertoken for subsequent API calls below.CRD: Determine Whether Prior Authorization Is Required
At key clinical workflow events such as scheduling, ordering, or signing for a service, the EHR invokes the appropriate CDS Hook. The payer responds with cards indicating coverage requirements and whether prior authorization or additional documentation is required.
DTR: Collect the Required Documentation
Retrieve the payer’s questionnaire package and rules with
$questionnaire-package. Populate the questionnaire using information from the patient’s record.PAS: Submit the Prior Authorization Request
Submit the completed prior authorization request using
Claim/$submit. The payer validates the request and returns the submission response. For large attachments, use the pre-signed URL mechanism described in the PAS API guide.PAS Inquiry: Check the Request Status
Use
Claim/$inquireto retrieve the current status of a previously submitted prior authorization request.CDex: Send Supporting Clinical Data
The Provider can proactively send supporting clinical documents to the payer through the CDex API. Synthetic PAS requests provide a PA tracking ID that can be used for CDex interactions. No separate CDex test data is provided in the sandbox.
Token Troubleshooting
Typical messages when the token request is rejected, and what to change.
| Message | What to Do |
|---|---|
| iss/sub must match client_id | Set both iss and sub to your Client ID exactly as issued. |
| aud claim mismatch | Set aud to the token endpoint URL shown on the API pages, character for character. |
| Assertion has expired / iat is in the future | Create a new assertion for every request, keep exp short, and sync your server clock (NTP). About a minute of clock drift is tolerated. |
| Duplicate jti detected | Every assertion needs a new unique jti; never reuse a JWT. |
| JWT algorithm is not allowed | Sign with the algorithm you registered. Contact support if you need to change it. |
| Invalid assertion signature / Unable to verify assertion signature | The public key or JWKS you registered must match the private key you sign with. Re-check the key and its kid. |
| Requested scope is not allowed | Request only the scopes approved for your registration. To add APIs, register again with your Client ID. |
| Missing client_assertion_type | Send client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer together with client_assertion. |
Still stuck? Email fhir-support@acentra.com with your Client ID and the time of the request. Never send your private key.