# Files

## Introduction

The files route is used to output the file content of a specific [FilemanagerFile](https://docs.api.intratool.de/api-reference/filemanager/filemanager-files).

When the file is retrieved, it is checked whether the user has the permissions for the respective file.

To ensure that a file is visible to e.g. all assigned [Departments](https://docs.api.intratool.de/api-reference/departments) of an [InfoboardPost](https://docs.api.intratool.de/api-reference/infoboard/infoboard-posts), the file should be shared via [SharedItems](https://docs.api.intratool.de/api-reference/shared-items).

## Show

Show the content of a `FilemanagerFile` by `id`.

**Definition**

<mark style="color:green;">`GET`</mark> `/files/{id}`

{% hint style="warning" %}
This routes content type depends on the file's content disposition retrieved from the filesystem.
{% endhint %}
