Skip to main content
POST
Send a pre-authorization request

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string
required

A unique value you choose for this request, such as a UUID. Sending the same key again returns the first answer instead of doing the work twice, so a timed-out request is safe to retry. Reusing a key for a different request is refused with 409 idempotency_key_conflict, and retrying while the first request is still running with 409 idempotency_key_reused. See Retries and idempotency.

Minimum string length: 1

Path Parameters

clinic_id
string<uuid>
required

Body

application/json

A pre-authorization request to send to one of the clinic's insurers. It is saved as sent_for_authorization. patient_id must be a patient your organization is linked to.

patient_id
string<uuid>
required
insurance_company_id
string<uuid>
required
request_type
enum<string>
required
Available options:
service,
procedure,
medication,
equipment,
hospitalization,
consultation,
lab_test
items
object[]
required
Required array length: 1 - 200 elements
enrollee_id
string<uuid>
priority_level
enum<string>
default:routine
Available options:
routine,
urgent,
emergency
encounter_date
string<date-time>
diagnoses
object[]
Maximum array length: 20

Response

Created - sent for authorization.

data
object
required

A pre-authorization request the clinic sent to an insurer. status is sent_for_authorization until the insurer decides, then approved or denied (with pa_code on approval). items and diagnoses are on the single read only.

idempotent_replay
boolean

Present and true when this Idempotency-Key was already used and the original answer is returned.