Send units used or a clinical document for an authorization
prior_authorization_updateUpdate one authorization with its ID and its access token (or the agent key of the agent whose part call bought it): units_used (the units or sessions used so far on an approved authorization; the day the next authorization is prepared follows the pace) and/or one clinical document, a PDF, JPG or PNG up to 4 MB: clinical_document_url (an HTTPS link Licium downloads), or clinical_document as multipart form data to PATCH /v1/authorizations/{id}; clinical_document_base64 inside JSON takes files up to 3 MB, since base64 makes a file a third larger and a request is at most 4.4 MB. A document sent while the payer waits on more information goes to the payer next; an ABA request waiting on its treatment plan goes on to the payer once the plan arrives. Returns what changed and the authorization.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_key | No | Instead of access_token: the agent key (lk_...) of the agent whose part call bought this authorization, or whose verified owner email is the practice email. | |
| units_used | No | Approved authorizations: the units or sessions used so far. | |
| access_token | No | The access_token prior_authorization_request returned (shown once), or the token in an emailed link. | |
| authorization_id | Yes | ||
| clinical_document_url | No | Or the document as an HTTPS link Licium downloads: a PDF, JPG or PNG up to 4 MB (a signed link is fine). A link is not held to the 4.4 MB request limit that keeps clinical_document_base64 to 3 MB. | |
| clinical_document_base64 | No | A PDF, JPG or PNG up to 3 MB, base64 encoded, in a request of at most 4.4 MB. |