Skip to main content

Download an attachment

GET 

/api/attachments/:attachmentId

Redirects (302) to a short-lived signed storage URL for the file. The underlying storage disk and path are NEVER exposed — the signed URL is the sole access path and expires after a few minutes. Authorized through the parent conversation's view ability; a cross-tenant attachment is invisible under RLS (404).

Request​

Responses​

Redirect to the short-lived signed download URL.

Response Headers
    Location

    The signed, expiring storage URL.