Delivery
To receive results from this endpoint, you have two options: Webhooks or the Poll Optimizer Runs API.Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
EDI data and patient control numbers for processing. Should contain all 837s and 835s, and patient control numbers for the claims to optimize.
Array of EDI strings to be processed. Each string should be either a valid 837 or 835 EDI transaction, with the ISA headers included. The order of the edi strings does not matter, but the Cair Optimizer will only process 837s for which there exists a matching 835 somewhere else in the request.
Array of patient control numbers. Optional, only use if you want to kick off the optimizer for only the claims with these PCNs
Response
Array of objects containing data of processed claims.
Unique identifier for the claim. The ID returned can be used to poll for results using the Poll Optimizer Results API. Output can also be configured to be sent through webhooks using Webhook Delivery.
Control number assigned to the patient. This is extracted from your EDI and is a unique identifier for the claim.
Status of the API processing for the claim. Typically at this point the response will be PROCESSING_EDI
. Refer to API Status for possible values
Timestamp when the claim was created