v2
latestOpenAPI 3.0.32026-08-07222102695.9 KBPatient Attachment
Create uploaded patient attachment
To create a patient attachment, you must first generate a presigned URL, upload your file to that URL, and then supply that URL and response key in the upload_url request body parameter.
post/patient_attachments
Request body
Example request
{
"patient_id": "1",
"upload_url": "https://cliniko-files-example-bucket.s3.amazonaws.com/123/patients/456/attachments/temp/s0m3-w31rd-l0c4t10n-1na-t3mpd1r/the-name-of-the-file.txt"
}Response
Resource was created
Example response
{
"content": {
"links": {
"self": "https://api.au1.cliniko.com/v1/patient_attachments/1"
}
},
"links": {
"self": "https://api.au1.cliniko.com/v1/patient_attachments/1"
},
"patient": {
"links": {
"self": "https://api.au1.cliniko.com/v1/patients/1"
}
},
"user": {
"links": {
"self": "https://api.au1.cliniko.com/v1/users/1"
}
}
}