Skip to navigation

Get file

Get information about a specific file in the File Manager.

Authentication

AuthorizationBearer

Authorization using a Mailchimp API key (a.k.a. Bearer token)

OR
AuthorizationBearer
Authorization using OAuth

Path parameters

file_idstringRequired
The unique id for the File Manager file.

Query parameters

fieldslist of stringsOptional

A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.

exclude_fieldslist of stringsOptional

A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.

Response

This endpoint returns an object.
created_atdatetimeOptionalRead-only
The date and time a file was added to the File Manager in ISO 8601 format.
created_bystringOptionalRead-only
The username of the profile that uploaded the file.
folder_idintegerOptional
The id of the folder.
full_size_urlstringOptionalRead-onlyformat: "uri"

The url of the full-size file.

heightintegerOptionalRead-only
The height of an image.
idintegerOptionalRead-only
The unique id of the file.
namestringOptional
The name of the file.
sizeintegerOptionalRead-only
The size of the file in bytes.
thumbnail_urlstringOptionalRead-onlyformat: "uri"
The url of the thumbnail preview.
typeenumOptionalRead-only
The type of file in the File Manager.
Allowed values:
widthintegerOptionalRead-only
The width of the image.