---
search:
  tags:
    - sessions
    - GET
seo:
  description: >-
    The bytes of a file a message in the… Reference for the GET
    /v1/sessions/{session_id}/attachments/{attachment_id} endpoint in the Subako
    Public API API.
sidebar:
  label: Download a session attachment
  badge: GET
title: Download a session attachment
type: openapi-operation
---
The bytes of a file a message in the session's events carries, under the `id` the message names it by, typed as the message's `media_type`. It is served as a download whatever it holds. A file never changes under its id, so a client may keep it for as long as it likes.

<Operation source="api" id="get-session-attachment" />
