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

# Files

> Upload files to Commenda's servers.

## Overview

A file object represents a file hosted on Commenda's servers. Currently, files are primarily used to manage exemption certificates, but other use cases are possible as well.

### Linking an exemption certificate

1. Create a file using the `POST /files` endpoint.
2. Save the returned file id.
3. Create or update an exemption certificate with that id in the `file_id` field using `POST /exemption-certificates` or `POST /exemption-certificates/{id}`.
