---
title: "Get document download URL"
method: GET
path: "/group-profile/v1/profiles/{profileId}/documents/{documentId}/download"
tags: ["ProfileDocument"]
---

# Get document download URL

`GET /group-profile/v1/profiles/{profileId}/documents/{documentId}/download`

## Request

- Base URL: `https://api.cloudbeds.com`
- URL: `https://api.cloudbeds.com/group-profile/v1/profiles/{profileId}/documents/{documentId}/download`
- Auth: HTTP bearer

Get a pre-signed URL for downloading the document file (valid for 5 minutes)

## Path parameters

- `profileId` integer, required
- `documentId` integer, required

## Headers

- `x-property-id` integer
- `x-organization-id` integer, required

## Response `200`

Pre-signed download URL generated successfully

- ProfileDocumentDownloadResponse
  - `downloadUrl` string, uri, required: Pre-signed URL to download the document file (valid for 5 minutes)

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Profile document not found

---

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