---
title: "Get Presigned Url Endpoint"
method: GET
path: "/api/v1/s3/get_presigned_url"
---

# Get Presigned Url Endpoint

`GET /api/v1/s3/get_presigned_url`

## Request

- Base URL: `https://api.caresquare.com.au` (the document declares no server; this is the origin it was published from)
- URL: `https://api.caresquare.com.au/api/v1/s3/get_presigned_url`
- Auth: none declared

Get a presigned URL for S3 object access.

Note: Authentication is handled at the router level via auth_depends_middleware (API key).

## Query parameters

- `bucket_name` string, required
- `object_name` string, required
- `expiration` integer, required

## Response `200`

Successful Response

- GetPresignedUrlResponse
  - `presigned_url` string, required
  - `expiration` integer, required
  - `bucket_name` string, required
  - `object_name` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/caresquare/apis/caresquare-api.md) - [All operations](https://skmtc.dev/caresquare/apis/caresquare-api/llms.txt) - [OpenAPI document](https://skmtc.dev/caresquare/apis/caresquare-api/revisions/d428fe38bf62?raw)
