# Download an attachment

> GET /attachments/{attachment_id}/download

Source: https://docs.trykintsugi.com/reference/2026-07-21/download-an-attachment

GET /attachments/{attachment_id}/download

Download an attachment

Return an attachment's metadata and a short-lived URL to download its bytes. Searched across every organization your credential owns, so no selector is needed for a known id. Fetch `downloadUrl` directly with a GET; it expires after `expiresInSeconds`. Returns 404 if the attachment does not exist or belongs to an organization your credential cannot access.

Category: Attachments

Path parameters:
attachment_id (string, required) - The unique identifier of the attachment.

Response fields:
id (string, required) - Kintsugi's unique identifier for the attachment.
fileName (string, required) - Name the file was uploaded under.
contentType (string, required) - Media type of the file.
size (integer, required) - Size of the file in bytes.
downloadUrl (string, required) - Time-limited URL to download the attachment bytes. Fetch it directly with a GET; do not send your API credentials to it. It stops working after `expiresInSeconds`, so request this endpoint again for a fresh URL rather than storing it.
expiresInSeconds (integer, required) - Seconds from now until `downloadUrl` stops working.

Response statuses: 200, 400, 401, 403, 404, 409, 422

---

Index of every page: https://docs.trykintsugi.com/llms.txt
