# Create an Attachment Link Creates a attachment link using the provided parameters. Endpoint: POST /v1/attachment_links Version: 1.0.0 Security: apiKeyAuth, practiceGroupId ## Request fields (application/json): - `expiry_date` (string) ISO 8601 date format Example: "1989-04-11" - `ehr_file_id` (string) File ID retrieved from List Patient Attachments endpoint. If not provided, file_data must be provided. - `file_data` (string) Base 64 representation of a file. Up to 2MB. - `file_name` (string, required) - `patient_id` (string, required) - `maximum_use_count` (number) ## Response 200 fields (application/json): - `attachment_link` (string, required) - `attachment_uuid` (string, required) ## Response 400 fields (application/json): - `error` (boolean, required) - `statusCode` (number, required) - `message` (array, required) - `message.code` (string, required) - `message.expected` (string, required) - `message.path` (array, required) ## Response 401 fields ## Response 422 fields ## Response 500 fields