---
title: "Get Document Signed URL"
method: GET
path: "/api/v1/mobile/documents/{participant_id}/file-url"
tags: ["Mobile - Documents"]
---

# Get Document Signed URL

`GET /api/v1/mobile/documents/{participant_id}/file-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/mobile/documents/{participant_id}/file-url`
- Auth: none declared. Required headers: `authorization`

Generate a short-lived signed URL for a participant document stored in Supabase Storage.

## Path parameters

- `participant_id` string, required: Participant ID

## Query parameters

- `document_key` string, required: Storage key of the document

## Headers

- `authorization` string, required: Bearer token

## Response `200`

Successful Response

- DocumentUrlResponse: Signed URL response for a participant document.
  - `url` string, required: Signed storage URL for the document
  - `expires_in` integer: URL expiration time in seconds

## Other responses

- `401`: Unauthorized
- `403`: Access denied
- `404`: Document not found
- `422`: Validation Error
- `500`: Internal server 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)
