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

# Retrieve Incoming Files Image



## OpenAPI

````yaml get /api/2.0/incoming_files/{file_group_id}/images/{image_id}/
openapi: 3.1.0
info:
  contact:
    name: Elation Health
    url: https://www.elationhealth.com/
  description: Elation Health API v2.0
  title: Patient Document API
  version: 2.0.0
servers:
  - description: Sandbox Server
    url: https://sandbox.elationemr.com
  - description: Production Server
    url: https://api.app.elationemr.com
security: []
paths:
  /api/2.0/incoming_files/{file_group_id}/images/{image_id}/:
    get:
      tags:
        - Incoming Files
      summary: Retrieve Incoming Files Image
      operationId: incoming_files_images_retrieve
      parameters:
        - in: path
          name: file_group_id
          required: true
          schema:
            pattern: ^[0-9]+$
            type: string
        - in: path
          name: image_id
          required: true
          schema:
            pattern: ^[0-9]+$
            type: string
        - description: The size of the image to retrieve (default is 'preview').
          in: query
          name: size
          schema:
            default: preview
            enum:
              - preview
              - print
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IncomingFileGroup'
          description: ''
      security:
        - oauth2: []
components:
  schemas:
    IncomingFileGroup:
      properties:
        created_date:
          format: date-time
          readOnly: true
          type:
            - string
            - 'null'
        external_fax_id:
          type:
            - string
            - 'null'
        file_size:
          readOnly: true
          type:
            - integer
            - 'null'
        files:
          items:
            $ref: '#/components/schemas/File'
          type:
            - array
            - 'null'
        from_number:
          readOnly: true
          type:
            - string
            - 'null'
        group_name:
          maxLength: 200
          type: string
        id:
          readOnly: true
          type: integer
        images:
          items:
            $ref: '#/components/schemas/Image'
          type:
            - array
            - 'null'
        page_count:
          readOnly: true
          type:
            - integer
            - 'null'
        practice:
          format: int64
          type: integer
        practice_fax:
          type:
            - string
            - 'null'
        process_complete_time:
          format: date-time
          type:
            - string
            - 'null'
        process_result:
          readOnly: true
          type:
            - string
            - 'null'
        process_start_time:
          format: date-time
          type:
            - string
            - 'null'
        process_state:
          allOf:
            - $ref: '#/components/schemas/ProcessStateEnum'
          readOnly: true
        received_time:
          format: date-time
          type:
            - string
            - 'null'
        source:
          allOf:
            - $ref: '#/components/schemas/SourceEnum'
          readOnly: true
        subject:
          readOnly: true
          type:
            - string
            - 'null'
        to_company:
          readOnly: true
          type:
            - string
            - 'null'
        to_name:
          readOnly: true
          type:
            - string
            - 'null'
        to_number:
          readOnly: true
          type:
            - string
            - 'null'
        transmit_time:
          format: date-time
          type:
            - string
            - 'null'
      required:
        - group_name
        - practice
      type: object
    File:
      properties:
        base64_content:
          type: string
          writeOnly: true
        content_type:
          maxLength: 200
          type: string
        created_date:
          format: date-time
          readOnly: true
          type:
            - string
            - 'null'
        deleted_date:
          format: date-time
          readOnly: true
          type:
            - string
            - 'null'
        file_size:
          readOnly: true
          type:
            - integer
            - 'null'
        file_url:
          readOnly: true
          type: string
        filename:
          type: string
        id:
          readOnly: true
          type: integer
        incoming_file:
          type: integer
        practice:
          format: int64
          type:
            - integer
            - 'null'
      required:
        - base64_content
        - content_type
        - filename
      type: object
    Image:
      properties:
        base64_content:
          type: string
          writeOnly: true
        content_type:
          type: string
          writeOnly: true
        created_date:
          format: date-time
          readOnly: true
          type:
            - string
            - 'null'
        deleted_date:
          format: date-time
          readOnly: true
          type:
            - string
            - 'null'
        file_size:
          readOnly: true
          type:
            - integer
            - 'null'
        height:
          readOnly: true
          type:
            - integer
            - 'null'
        id:
          readOnly: true
          type: integer
        image_url:
          readOnly: true
          type: string
        incoming_file:
          type: integer
        original_extension:
          maxLength: 10
          type: string
        original_height:
          type: integer
        original_padded:
          type: integer
        original_rotation:
          type: integer
        original_width:
          type: integer
        practice:
          format: int64
          type:
            - integer
            - 'null'
        quality_score:
          readOnly: true
          type:
            - integer
            - 'null'
        quality_score_by:
          readOnly: true
          type:
            - integer
            - 'null'
        received_date:
          format: date-time
          type: string
        rotation:
          readOnly: true
          type: integer
        sequence:
          readOnly: true
          type:
            - integer
            - 'null'
        width:
          readOnly: true
          type:
            - integer
            - 'null'
      required:
        - base64_content
        - content_type
      type: object
    ProcessStateEnum:
      enum:
        - complete
        - error
        - pending
        - processing
      type: string
    SourceEnum:
      enum:
        - metrofax
        - plr
        - refile
        - softlinx
        - user
      type: string
  securitySchemes:
    oauth2:
      flows:
        clientCredentials:
          scopes:
            act_as_user: >-
              Impersonate a provider via X-On-Behalf-Of (combinable with apiv2
              or system scopes)
            apiv2: Full access to the API
            system/{resource_name}.read: Read access to a specific resource
            system/{resource_name}.write: Write access to a specific resource
          tokenUrl: /api/2.0/oauth2/token/
      type: oauth2

````