---
title: "Get Assistant Attachment Download Url"
method: GET
path: "/api/v1/assistant-attachments/{attachment_id}/download-url"
tags: ["authed"]
---

# Get Assistant Attachment Download Url

`GET /api/v1/assistant-attachments/{attachment_id}/download-url`

## Request

- Base URL: `https://api.teaflask.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.teaflask.com/api/v1/assistant-attachments/{attachment_id}/download-url`
- Auth: none declared

The render-time exchange: a stable attachment id for a fresh,
short-lived URL. Readable by the uploader, by the owner of the thread
it was sent in, and — for serving conversations — by members holding
conversation.read (the logs belong to the org whose agent served
them).

## Path parameters

- `attachment_id` string, uuid, required

## Response `200`

Successful Response

- AttachmentDownloadUrlResponse
  - `url` string, required
  - `expires_in_seconds` integer, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `405`: Method not allowed
- `422`: Validation error
- `500`: Internal server error
- `503`: Attachments not configured

---

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