---
title: "Load File Details"
method: GET
path: "/files/{name}/info"
tags: ["Files"]
---

# Load File Details

`GET /files/{name}/info`

Returns the specified File's details. Required Access Level: ViewFiles

## Path parameters

- `name` string, string, required — string

## Response `200`

OK

- FileInfo — File information
  - `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)
