# Files

 - [GET /files](https://docs.api.saleslayer.com/apis/dam-v2.0/files/paths/~1files/get.md): Returns a paginated collection of the tenant's non-image files (documents, spreadsheets, archives, …), filtered and sorted using OData query options (`$filter`, `$orderby`, `$top`, `$skip`). ## Authen
 - [POST /files](https://docs.api.saleslayer.com/apis/dam-v2.0/files/paths/~1files/post.md): Registers a new file from a publicly accessible URL, optionally tagging it. The file is fetched, checked against the supported formats and the size limit, and stored. ## Authentication Requires a vali
 - [GET /files({reference})](https://docs.api.saleslayer.com/apis/dam-v2.0/files/paths/~1files(%7Breference%7D)/get.md): In DAM, files are identified by their filename (`reference`), which is unique per tenant. Use this endpoint to retrieve a specific file when you already know its filename. ## Authentication Requires a
 - [PATCH /files({reference})](https://docs.api.saleslayer.com/apis/dam-v2.0/files/paths/~1files(%7Breference%7D)/patch.md): Partially updates an existing file identified by its filename (`reference`), which is unique per tenant — substitute its contents via a new `url` and/or replace its `tags`. At least one of these field
 - [DELETE /files({reference})](https://docs.api.saleslayer.com/apis/dam-v2.0/files/paths/~1files(%7Breference%7D)/delete.md): Deletes a file by its filename (`reference`), which is unique per tenant. ## Authentication Requires a valid API key in the `X-API-KEY` header. ## Example ``` DELETE /files(product-datasheet.pdf) X-A
