> ## Documentation Index
> Fetch the complete documentation index at: https://docs.theymes.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get attachments

> Redirect to a short-lived signed URL for downloading a previously uploaded ticket attachment.



## OpenAPI

````yaml https://api.theymes.com/openapi get /attachments/{attachmentId}
openapi: 3.1.0
info:
  title: Theymes API
  version: 1.0.0
  description: >-
    Theymes API allows you to interact with the Theymes platform.



    Most endpoints require an API key for authentication. You can generate an
    API key in the Theymes dashboard.



    The API key should be included in the Authorization header
    (```Authorization: Bearer <YOUR_KEY>```).



    The public support link endpoints do not require authentication and are
    grouped separately below.
servers: []
security: []
tags:
  - name: Authenticated endpoints (API key)
    description: Endpoints that require an API key in the Authorization header.
  - name: Public support links (no authentication)
    description: >-
      Endpoints for creating web support sessions and links. These require no
      authentication and are identified by a game environment token.
paths:
  /attachments/{attachmentId}:
    get:
      tags:
        - Authenticated endpoints (API key)
      description: >-
        Redirect to a short-lived signed URL for downloading a previously
        uploaded ticket attachment.
      operationId: downloadAttachment
      parameters:
        - schema:
            type: string
            description: Attachment ID returned by POST /attachments.
          required: true
          description: Attachment ID returned by POST /attachments.
          name: attachmentId
          in: path
        - schema:
            type: string
            description: Bearer token API key
          required: true
          description: Bearer token API key
          name: Authorization
          in: header
      responses:
        '307':
          description: Temporary redirect to the attachment download URL

````