---
title: "Download one file the session was given"
method: GET
path: "/o/{org}/sessions/{session}/attachments/{id}"
tags: ["Attachments"]
---

# Download one file the session was given

`GET /o/{org}/sessions/{session}/attachments/{id}`

## Request

- Base URL: `https://api.prix.dev`
- URL: `https://api.prix.dev/o/{org}/sessions/{session}/attachments/{id}`
- Auth: HTTP bearer

The bytes of a file the session was started or followed up with, streamed, with its type,
`Content-Disposition: inline` and its filename. Send the key, or open the attachment's
`url` from the session read, which needs no key until `url_expires_at`. A wrong, expired or
altered link answers `404`, as a missing file does.

## Query parameters

- `expires` integer
- `signature` string

## Response `200`

The file.

## Other responses

- `401`: No bearer, an unknown, revoked or expired one, or an API key on a route keys cannot call.
- `404`: No such resource for the caller, including one in an org the caller is not in or a Project that is private to someone else.

---

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