API Reference: Media Imports
Import files into the Media Library from https links or linked ZIP files: Simply360 fetches, unpacks, virus-scans, and files each one, and reports progress per file.
Overview
An import fetches up to 1,000 https:// links on Simply360's servers and adds each file to the Media Library after a malware scan and a file-type check. A link to a .zip file is unpacked by default, and folders inside it become albums. Imports run in the background: start one, then read its progress.
Authentication and Tier
All operations are standard tier. Reads need the MEDIA_IMPORTS feature permission; starting, canceling, and retrying need it at edit level. With an albumSimplyId, or when folders become albums, the caller also needs update access to the Media Library's albums. OAuth callers need files:read for reads and files:write for changes.
Endpoints
| Method | Path | Purpose |
|---|---|---|
GET | /v1/media-library/imports | List imports, newest first. limit (1–100), offset. |
POST | /v1/media-library/imports | Start an import. |
GET | /v1/media-library/imports/{importSimplyId} | Get one import with its counts. |
GET | /v1/media-library/imports/{importSimplyId}/items | Its files. filter: ALL, IN_PROGRESS, READY, FAILED, SKIPPED. |
POST | /v1/media-library/imports/{importSimplyId}/cancel | Stop it. |
POST | /v1/media-library/imports/{importSimplyId}/retry | Queue its failed links again. |
Start an Import
const { data } = await s360.mediaLibrary.imports.create({
links: ['https://photos.example.org/2026/gala/IMG_0001.jpg', 'https://photos.example.org/2026/gala-day-2.zip'],
albumSimplyId: 'DREC-ALBM-0001', // optional
unpackArchives: true, // default
archiveAlbums: true, // default: folders inside a ZIP become albums
idempotencyKey: 'gala-2026-import', // optional: a repeat returns the same import (200)
});
console.log(data.importSimplyId, data.status); // IMPT-…, ACTIVE
Links must be full https:// links without a user name or password; the response details.invalid lists each refused link by position. Exact duplicates are imported once. Every fetch, and every redirect, is checked again after DNS resolution: private, loopback, link-local, shared, and reserved addresses (IPv4 and IPv6, including mapped and NAT64 forms) are refused. Only ports 443 and 8443 are fetched. Limits: 10 GiB per file, 8 GiB per ZIP to unpack, 50,000 entries and 64 GiB unpacked per ZIP, five running imports per Team. File types are those uploads accept, except SVG, which must be uploaded directly.
Import and Item Shapes
| Field | Meaning |
|---|---|
status | ACTIVE, COMPLETED (every file finished one way or another), or CANCELLED. |
counts | { files, waiting, inProgress, ready, failed, skipped, cancelled, archivesUnpacked, importedBytes }. Files include each unpacked entry; an unpacked ZIP itself counts in archivesUnpacked. |
item source | The link's host and file name only (never the full link, which can carry a token), or <zip name> › <path inside it>. |
item status | QUEUED, FETCHING, UNPACKING, SCANNING, then READY (with fileSimplyId), UNPACKED, FAILED, SKIPPED, or CANCELLED. |
item failure | { code, message, httpStatus }, for example HOST_NOT_ALLOWED, HTTP_ERROR (with the status the website returned), TOO_LARGE, ARCHIVE_ENCRYPTED, ARCHIVE_BOMB, FILE_REJECTED (an unsupported type or a failed malware scan), NESTED_ARCHIVE (skipped). |
Errors
| Status | Code | When |
|---|---|---|
| 403 | FEATURE_PERMISSION_DENIED, DATA_PERMISSION_DENIED | Missing permission, or album access for an album or folder albums. |
| 404 | ALBUM_NOT_FOUND, IMPORT_NOT_FOUND | The album or import is not in this Team. |
| 409 | MEDIA_LIBRARY_NOT_READY, IMPORT_FINISHED | No Media Library yet, or the import already finished (cancel) or was canceled (retry). |
| 422 | INVALID_LINKS, TOO_MANY_LINKS, INVALID_BODY, INVALID_FILTER | A refused link, more than 1,000 links, unknown fields, or an unknown filter. |
| 429 | TOO_MANY_ACTIVE_IMPORTS | The Team already runs five imports. |
Hosted MCP and Ask Simply
Hosted MCP clients and Ask Simply can read with list_media_imports, get_media_import, and list_media_import_items. Starting, canceling, and retrying are proposals a person approves first: draft_start_media_import, draft_cancel_media_import, and draft_retry_media_import. A start proposal shows how many links, which websites they point at, the album, and the ZIP settings, never the full links. The links are stored only in the import itself, which waits unseen until a person approves the proposal; an import whose proposal is never approved is deleted a day after the proposal expires.