Discover how to easily manage your files and collections with the File Management API.
The File Management API offers a range of methods to streamline file management tasks on your platform, such as adding files to your File Manager and creating, updating, or deleting collections. Whether you need to import assets from an external source, set up files for a new editor, or manage collections centrally as an administrator, the File Management API makes it simple and efficient.
This guide will help you get started with adding files and managing collections using the File Management API.
A simple workflow for creating a collection and adding files to it in a nutshell.
PUT
request to /medialibrary/entries/{mediumId}
POST
request to /medialibrary/collections
by providing the collection name and who can access and manage it in the request bodyPOST
request to /medialibrary/collections/{collectionId}/entries
GET
request to /medialibrary/collections/{collectionId}/entries
A simple workflow for managing collections. Most steps are optional and you can use them according to your requirements.
GET
request to /medialibrary/collections/{collectionId}
PUT
request to /medialibrary/collections/{collectionId}
by providing the collection name and who can access and manage it in the request bodyGET
request to /medialibrary/collections/{collectionId}/entries
and see which files you want to remove or addPOST
request to /medialibrary/collections/{collectionId}/entries/delete
POST
request to /medialibrary/collections/{collectionId}/entries
For request and response samples, see the File Management API.