Acentra Health · Interoperability SolutionSandbox Environment
Da Vinci · Electronic Prior Authorization

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.

APIsCRD · DTR · PAS · CDex
SecuritySMART Backend Services
Base Path/priorauth/api/v1
route

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.

app_registrationRegister Your EHR System
checklist

Before you start

  1. Open App Registration, choose EHR Systems and select the Prior Authorization (ePA) Bundle. It selects CRD, DTR, PAS Submission, PAS Inquiry and CDex together.

  2. 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.

  3. Verify your email address using the verification code sent during registration. Save the Client ID displayed on the confirmation page for future authentication requests.

  4. After your registration is approved, credentials and the FHIR Base URL will be sent to your registered business email address.

format_list_numbered

ePA Workflow: Step by Step

  1. Obtain an Access Token

    Sign a short-lived JWT with your private key and exchange it at the token endpoint using the client_credentials grant. Include the returned access_token as the Bearer token for subsequent API calls below.

  2. 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.

  3. 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.

  4. 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.

  5. PAS Inquiry: Check the Request Status

    Use Claim/$inquire to retrieve the current status of a previously submitted prior authorization request.

  6. 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.

build

Token Troubleshooting

Typical messages when the token request is rejected, and what to change.

MessageWhat to Do
iss/sub must match client_idSet both iss and sub to your Client ID exactly as issued.
aud claim mismatchSet aud to the token endpoint URL shown on the API pages, character for character.
Assertion has expired / iat is in the futureCreate 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 detectedEvery assertion needs a new unique jti; never reuse a JWT.
JWT algorithm is not allowedSign with the algorithm you registered. Contact support if you need to change it.
Invalid assertion signature / Unable to verify assertion signatureThe 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 allowedRequest only the scopes approved for your registration. To add APIs, register again with your Client ID.
Missing client_assertion_typeSend 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.

check