Creates a attachment link using the provided parameters.
Security
apiKeyAuth and practiceGroupId
File ID retrieved from List Patient Attachments endpoint. If not provided, file_data must be provided.
- Mock serverhttps://developer.herohealth.net/_mock/apis/public-api/openapi/v1/attachment_links
- Staginghttps://api.staging.htech.app/v1/attachment_links
- Productionhttps://api.herohealth.net/v1/attachment_links
curl -i -X POST \
https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/attachment_links \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE' \
-d '{
"expiry_date": "1989-04-11",
"ehr_file_id": "string",
"file_data": "string",
"file_name": "string",
"patient_id": "string",
"maximum_use_count": 1
}'Response
{ "attachment_link": "string", "attachment_uuid": "string" }