Skip to main content
The examples use two variables: BASE_URL (your Media Cloud host) and API_KEY (your key).
1

Upload a file

Send the file as multipart/form-data in the file field.
The response is 201 Created with the new asset. Keep its id.
2

Fetch it back

Use attributes.url to display the file, or attributes.download_url to download it.
3

List your assets

4

Trash, then delete

Both bulk routes answer 204 No Content. To remove the asset for good, call Bulk delete assets.
Uploaded assets return is_favourite: null. Fetch or list them to see the stored value.