---
title: "Get a presigned URL to upload your file to S3"
method: GET
path: "/patients/{patient_id}/attachment_presigned_post"
tags: ["Patient Attachment"]
---

# Get a presigned URL to upload your file to S3

`GET /patients/{patient_id}/attachment_presigned_post`

## Path parameters

- `patient_id` string, int64, required

## Response `200`

successful operation

- AttachmentPresignedPost
  - `fields` object, nullable
    - `key` string
    - `policy` string
    - `success_action_status` '201', integer
    - `x-amz-algorithm` string
    - `x-amz-credential` string
    - `x-amz-signature` string
  - `url` string, uri, nullable

---

[API](https://skmtc.net/cliniko/apis/cliniko-api.md) · [All operations](https://skmtc.net/cliniko/apis/cliniko-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cliniko/cliniko-api/revisions/79f172e1968d/schema)
