---
title: "List Files"
method: GET
path: "/files"
tags: ["Files"]
---

# List Files

`GET /files`

Returns a list of all your available files. Required Access Level: ViewFiles

## Query parameters

- `limit` integer — integer
- `offset` integer — integer

## Response `200`

OK

- FileInfo[]
  - `FileName` string, string — Name of your file including extension.
  - `Size` integer, nullable — Size of your attachment (in bytes).
  - `DateAdded` string, date-time — Date of creation in YYYY-MM-DDThh:ii:ss format
  - `ExpirationDate` string, date-time, nullable — Date when the file will be deleted from your Account.
  - `ContentType` string, string — Content type of the file.

---

[API](https://skmtc.net/elasticemail/apis/megamail-api.md) · [All operations](https://skmtc.net/elasticemail/apis/megamail-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elasticemail/megamail-api/versions/1a0ebb83f676/schema)
