list_files
Browse and retrieve file IDs and hosted URLs from your Mailchimp File Manager for embedding images in campaigns or templates.
Instructions
List images and files stored in the account's File Manager.
Use to discover file_id and hosted URLs for embedding images in campaign or template content. Use get_file for one file's full metadata, upload_file to add a new one, and list_file_folders to browse the folder structure.
Args: count: Files to return (1-1000, default 10). offset: Pagination offset. Use when total_items exceeds count. type: Optional media type filter. Either 'image' or 'file' (non-image). Omit for all.
Returns: JSON with total_items and files array. Each file: id (use as file_id), name, type ('image' or 'file'), full_size_url (hosted URL for embedding), thumbnail_url, size (bytes), width, height, folder_id, created_at, created_by.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| count | No | ||
| offset | No | ||
| account | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |