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

# Get Rfc Attachment Stream

> Get the content of an attachment which is part of RFC822 email attachment



## OpenAPI

````yaml /openapi/rest/openapi-v3-TicketMessage.json get /api/v1/TicketMessage/RfcAttachment/{attachmentId}/{position}
openapi: 3.0.0
info:
  version: v1-REST
  title: SuperOffice REST API v1
  description: SuperOffice REST API - TicketMessage
  contact:
    name: SuperOffice DevNet
    url: https://docs.superoffice.com/en/api/index.html
    email: sdk@superoffice.com
servers:
  - url: http://localhost:56350
  - url: https://localhost:56350
security: []
tags: []
externalDocs:
  description: >-
    The SuperOffice DevNet Community has more documentation, examples, and
    discussion forums.
  url: https://community.superoffice.com/en/developer/
paths:
  /api/v1/TicketMessage/RfcAttachment/{attachmentId}/{position}:
    get:
      tags:
        - TicketMessage
      summary: Get Rfc Attachment Stream
      description: >-
        Get the content of an attachment which is part of RFC822 email
        attachment
      operationId: v1TicketMessageEntity_GetRfcAttachmentStream
      parameters:
        - name: attachmentId
          in: path
          description: The id of the root attachment
          required: true
          schema:
            type: integer
            format: int32
        - name: position
          in: path
          description: >-
            The position (index) of the attachment within the root attachment.
            Numbering starts from 0
          required: true
          schema:
            type: integer
            format: int32
        - name: Accept-Language
          in: header
          description: >-
            Convert string references and multi-language values into a specified
            language (iso2) code.
          required: false
          schema:
            type: string
        - name: SO-Language
          in: header
          description: >-
            Convert string references and multi-language values into a specified
            language (iso2) code. Overrides Accept-Language value.
          required: false
          schema:
            type: string
        - name: SO-Culture
          in: header
          description: >-
            Number, date formatting in a specified culture (iso2 language) code.
            Partially overrides SO-Language/Accept-Language value. Ignored if no
            Language set.
          required: false
          schema:
            type: string
        - name: SO-TimeZone
          in: header
          description: >-
            Specify the timezone code that you would like date/time responses
            converted to.
          required: false
          schema:
            type: string
        - name: SO-AppToken
          in: header
          description: >-
            The application token that identifies the partner app. Used when
            calling Online WebAPI from a server.
          required: false
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                format: byte
                type: string
            text/json:
              schema:
                format: byte
                type: string
            application/xml:
              schema:
                format: byte
                type: string
            text/xml:
              schema:
                format: byte
                type: string
            image/jpeg:
              schema:
                format: byte
                type: string
            image/jpg:
              schema:
                format: byte
                type: string
            image/png:
              schema:
                format: byte
                type: string
            image/gif:
              schema:
                format: byte
                type: string
            image/bmp:
              schema:
                format: byte
                type: string
            image/tiff:
              schema:
                format: byte
                type: string
            application/octet-stream:
              schema:
                format: byte
                type: string
            application/msword:
              schema:
                format: byte
                type: string
            application/rtf:
              schema:
                format: byte
                type: string
            application/vnd.openxmlformats-officedocument.wordprocessingml.document:
              schema:
                format: byte
                type: string
            application/vnd.ms-excel:
              schema:
                format: byte
                type: string
            application/vnd.openxmlformats-officedocument.spreadsheetml.sheet:
              schema:
                format: byte
                type: string
            application/vnd.ms-powerpoint:
              schema:
                format: byte
                type: string
            application/vnd.openxmlformats-officedocument.presentationml.presentation:
              schema:
                format: byte
                type: string
            application/json-patch+json:
              schema:
                format: byte
                type: string
            application/merge-patch+json:
              schema:
                format: byte
                type: string
            application/pdf:
              schema:
                format: byte
                type: string
            text/html:
              schema:
                format: byte
                type: string
            text/plain:
              schema:
                format: byte
                type: string
            multipart/related:
              schema:
                format: byte
                type: string
      security:
        - SuperOffice_Password: []
          SuperId_Authentication: []
components: {}

````

## Related topics

- [Get Rfc Attachment Stream](/en/api/reference/restful/agent/ticket_agent/get-rfc-attachment-stream.md)
- [SuperOffice.WebApi.Data.Ticket GetRfcAttachmentStreamRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Ticket_GetRfcAttachmentStreamRequest.md)
- [SuperOffice.WebApi.Agents.ITicketAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.ITicketAgent.md)
- [SuperOffice.WebApi.Agents.TicketAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.TicketAgent.md)
- [Get Attachment Stream](/en/api/reference/restful/rest/attachment/get-attachment-stream.md)
