Create an Attachment from a Charge Capture external ID

Beta

Uploads a file using an external identifier. For Charge Capture, the file will be associated with the Encounter at Encounter creation time.

Note: Attachments created via this endpoint are not searchable via the get endpoint until they are associated with an encounter.

Authentication

AuthorizationBearer

OAuth authentication of the form <token>.

Request

This endpoint expects a multipart form containing a file.
charge_capture_external_idstringRequired
attachment_filefileRequired
The file for upload. The maximum file size is 25MB. The allowed mime types are: - application/pdf - image/png - image/jpeg - text/plain - text/csv - application/vnd.openxmlformats-officedocument.wordprocessingml.document - application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
attachment_typeenumRequired
Allowed values:
descriptionstringOptional

Response

This endpoint returns a UUID.