# Document file

Returns a single file generated for the specified document.
Specify `zip` as the filename to retrieve all files for the document as one archive.

Endpoint: GET /documents/{documentId}/files/{filename}
Version: 1.0
Security: NowInfinity_oAuth

## Security:

  - `NowInfinity_oAuth` (unknown)
    oauth2 scopes: api1

## Path parameters:

  - `documentId` (string, required)
    Unique id of the document.

  - `filename` (string, required)
    The name of the file to return, or `zip` to retrieve all files as a single archive.

## Response 200:

  - `200` (unknown)
    Success (Ok)

## Response 404:

  - `404` (unknown)
    A document with the specified Id cannot be found, or no file with the specified name exists for the document.

