Files

Load File Details

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

get/files/{name}/info

Request

  • Base URL
    https://api.elasticemail.com/v4
  • URL
    https://api.elasticemail.com/v4/files/{name}/info
  • Auth
    API key in header X-ElasticEmail-ApiKey

Path parameters

namestring string required

string

Example:filename.txt

Name of your file including extension.

Response

OK

FileNamestring string

Name of your file including extension.

Sizeinteger nullable

Size of your attachment (in bytes).

DateAddedstring date-time

Date of creation in YYYY-MM-DDThh:ii:ss format

ExpirationDatestring date-time nullable

Date when the file will be deleted from your Account.

ContentTypestring string

Content type of the file.

Example response

{
  "FileName": "filename.txt",
  "DateAdded": "2001-01-01T12:00:00",
  "ContentType": "image/jpeg"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.