> ## 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 Document Stream

> Get the document content as a stream



## OpenAPI

````yaml /openapi/rest/openapi-v3-Document.json get /api/v1/Document/{documentId}/Content
openapi: 3.0.0
info:
  version: v1-REST
  title: SuperOffice REST API v1
  description: SuperOffice REST API - Document
  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/Document/{documentId}/Content:
    get:
      tags:
        - Document
      summary: Get Document Stream
      description: Get the document content as a stream
      operationId: v1DocumentEntity_GetDocumentStream
      parameters:
        - name: documentId
          in: path
          description: SuperOffice document id
          required: true
          schema:
            format: int32
            type: integer
        - 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 Document Stream](/en/api/reference/restful/agent/document_agent/get-document-stream.md)
- [Verify Get Document Stream](/en/api/reference/restful/agent/document_agent/verify-get-document-stream.md)
- [Get Document Stream From Entity](/en/api/reference/restful/agent/document_agent/get-document-stream-from-entity.md)
- [SuperOffice.WebApi.Data.Document GetDocumentStreamRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Document_GetDocumentStreamRequest.md)
- [SuperOffice.WebApi.Data.Document GetDocumentStreamFromEntityRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Document_GetDocumentStreamFromEntityRequest.md)
- [SuperOffice.WebApi.Data.Document VerifyGetDocumentStreamRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Document_VerifyGetDocumentStreamRequest.md)
