---
title: "Get a download URL for a project attachment"
method: GET
path: "/v1/spaces/{spaceId}/projects/{projectId}/attachments/{attachmentId}/download-url"
tags: ["Project Attachments"]
---

# Get a download URL for a project attachment

`GET /v1/spaces/{spaceId}/projects/{projectId}/attachments/{attachmentId}/download-url`

## Request

- Base URL: `https://api.astravue.com`
- URL: `https://api.astravue.com/v1/spaces/{spaceId}/projects/{projectId}/attachments/{attachmentId}/download-url`
- Auth: none declared. Required headers: `X-Org-Id`

Returns a pre-signed URL the client can stream or download the file from directly. The URL is valid for 24 hours and needs no authorization header of its own.

## Path parameters

- `spaceId` integer, required
- `projectId` integer, required
- `attachmentId` integer, required

## Headers

- `X-Org-Id` integer, required

## Response `200`

Download URL generated successfully

- ApiSuccessResponseString: Standard API success response structure
  - `success` boolean: Indicates if the operation was successful
  - `message` string: Message describing the result of the operation
  - `code` integer: HTTP status code of the response
  - `data` string: Payload containing the response data
  - `timestamp` string, date-time: Timestamp of the response

## Changes

- **2026-08-19** `f1eea337ff61`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/astravue/apis/astravue-api/changes/v1/spaces/:spaceId/projects/:projectId/attachments/:attachmentId/download-url/get.md)

---

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