Collections
A collection is a hand-picked set of assets, like a playlist, that can span folders. Collections can be shared publicly with their own link settings.
See Collections and share links for a walkthrough.
Create one with
POST /collections, then add assets withPOST /collections/{collection_id}/assets.To list a collection's assets, call
POST /searchwithcollection_id.POST /collections/{collection_id}/directoriesadds whole folders.
Get a listing of all the collections in the database
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the drive we want to get collections from
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7eA list of all collections in the specified drive.
falseNot found
Validation Error
GET /collections?drive_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"created_by": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"email": "text",
"avatar_url": "text",
"user_type": "regular"
},
"is_public_enabled": true,
"allowed_actions": [
"manage"
],
"invite_id": "123e4567-e89b-12d3-a456-426614174000",
"settings": {
"view": "text",
"thumbnail_view": "text",
"thumbnail_size": "text",
"card_size": 1,
"metadata_attribute_ids": [
"text"
],
"tile_rounded": true,
"watermarking_config": {
"mode": "session",
"text": "text",
"position": "top_left",
"font_size": "text"
},
"sort": {
"attribute": "text",
"direction": "ASC"
},
"watermark_proxies": true
},
"icon_type": "color",
"icon": "text",
"icon_attachment": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"uploader_id": "123e4567-e89b-12d3-a456-426614174000",
"uploaded": true,
"name": "text",
"mime_type": "text",
"size": 1,
"download_url": "text"
},
"background_image": "text",
"background_image_attachment": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"uploader_id": "123e4567-e89b-12d3-a456-426614174000",
"uploaded": true,
"name": "text",
"mime_type": "text",
"size": 1,
"download_url": "text"
},
"preview_image": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
},
"is_expired": false,
"password_protected": true,
"expiration_date": "2026-01-01T00:00:00.000Z"
}
]Create a new user collection of assets
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The name of the user collection to be created
The description of the user collection to be created
""The id of the drive to create the collection in
The id of the created user collection
Not found
Validation Error
POST /collections HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 146
{
"drive_id": "7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e",
"name": "Pricing Soundbites",
"description": "Interview clips where customers talk about pricing"
}5e4d3c2b-1a09-4f8e-b7d6-c5b4a3928170Get a collection by id
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the collection. List a drive's collections with GET /collections.
5e4d3c2b-1a09-4f8e-b7d6-c5b4a3928170The collection
falseNot found
Validation Error
GET /collections/{collection_id} HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"created_by": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"email": "text",
"avatar_url": "text",
"user_type": "regular"
},
"is_public_enabled": true,
"allowed_actions": [
"manage"
],
"invite_id": "123e4567-e89b-12d3-a456-426614174000",
"settings": {
"view": "text",
"thumbnail_view": "text",
"thumbnail_size": "text",
"card_size": 1,
"metadata_attribute_ids": [
"text"
],
"tile_rounded": true,
"watermarking_config": {
"mode": "session",
"text": "text",
"position": "top_left",
"font_size": "text"
},
"sort": {
"attribute": "text",
"direction": "ASC"
},
"watermark_proxies": true
},
"icon_type": "color",
"icon": "text",
"icon_attachment": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"uploader_id": "123e4567-e89b-12d3-a456-426614174000",
"uploaded": true,
"name": "text",
"mime_type": "text",
"size": 1,
"download_url": "text"
},
"background_image": "text",
"background_image_attachment": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"uploader_id": "123e4567-e89b-12d3-a456-426614174000",
"uploaded": true,
"name": "text",
"mime_type": "text",
"size": 1,
"download_url": "text"
},
"preview_image": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
},
"is_expired": false,
"password_protected": true,
"expiration_date": "2026-01-01T00:00:00.000Z",
"num_assets": 1,
"num_directories": 1,
"size": 1
}Update a collection
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the collection to be updated
5e4d3c2b-1a09-4f8e-b7d6-c5b4a3928170The new name for the collection
The new description for the collection
The expiration date of the collection
The password of the collection
remove the collection password
falseRemove the collection expiration date
falseThe updated collection
falseNot found
Validation Error
PUT /collections/{collection_id} HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 555
{
"name": "text",
"description": "text",
"is_public_enabled": true,
"icon": "text",
"icon_type": "color",
"allowed_actions": [
"manage"
],
"background_image": "text",
"settings": {
"view": "text",
"thumbnail_view": "text",
"thumbnail_size": "text",
"card_size": 1,
"metadata_attribute_ids": [
"text"
],
"tile_rounded": true,
"watermarking_config": {
"mode": "session",
"text": "text",
"position": "top_left",
"font_size": "text"
},
"sort": {
"attribute": "text",
"direction": "ASC"
}
},
"expiration_date": "2026-01-01T00:00:00.000Z",
"password": "text",
"removed_password": false,
"removed_expiration_date": false
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"created_by": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"email": "text",
"avatar_url": "text",
"user_type": "regular"
},
"is_public_enabled": true,
"allowed_actions": [
"manage"
],
"invite_id": "123e4567-e89b-12d3-a456-426614174000",
"settings": {
"view": "text",
"thumbnail_view": "text",
"thumbnail_size": "text",
"card_size": 1,
"metadata_attribute_ids": [
"text"
],
"tile_rounded": true,
"watermarking_config": {
"mode": "session",
"text": "text",
"position": "top_left",
"font_size": "text"
},
"sort": {
"attribute": "text",
"direction": "ASC"
},
"watermark_proxies": true
},
"icon_type": "color",
"icon": "text",
"icon_attachment": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"uploader_id": "123e4567-e89b-12d3-a456-426614174000",
"uploaded": true,
"name": "text",
"mime_type": "text",
"size": 1,
"download_url": "text"
},
"background_image": "text",
"background_image_attachment": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"uploader_id": "123e4567-e89b-12d3-a456-426614174000",
"uploaded": true,
"name": "text",
"mime_type": "text",
"size": 1,
"download_url": "text"
},
"preview_image": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
},
"is_expired": false,
"password_protected": true,
"expiration_date": "2026-01-01T00:00:00.000Z"
}Delete a collection
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the collection to be deleted
5e4d3c2b-1a09-4f8e-b7d6-c5b4a3928170True if the collection was deleted, false if it was not found
Not found
Validation Error
DELETE /collections/{collection_id} HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
trueReturn an MRSS (Media RSS) feed for a collection.
This endpoint is intended for public consumption and only returns data when the collection's public link visibility is enabled. If the collection is not public or is expired, a 404 is returned. If the collection is password-protected and the password is incorrect, a 403 is returned.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the collection. List a drive's collections with GET /collections.
5e4d3c2b-1a09-4f8e-b7d6-c5b4a39281701-indexed page of assets in the collection to return.
1Maximum number of assets to include in the MRSS feed.
20An MRSS XML feed for the public collection
Not found
Validation Error
GET /collections/{collection_id}/mrss HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
textDuplicate a collection with configurable options for what to include.
include_files: Copy asset references and directory paths
include_styling: Copy icon, icon_type, background_image, and settings
include_permissions: Copy is_public_enabled, allowed_actions, expiration_date (NOT password)
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the collection to duplicate
5e4d3c2b-1a09-4f8e-b7d6-c5b4a3928170Whether to copy asset references and directory paths
trueWhether to copy icon, background, and view settings
trueWhether to copy public link settings (excluding password)
falseThe id of the duplicated collection
Not found
Validation Error
POST /collections/{collection_id}/duplicate HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 73
{
"include_files": true,
"include_styling": true,
"include_permissions": false
}123e4567-e89b-12d3-a456-426614174000Add assets to a collection, if they are in the same drive.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the collection to add assets to
5e4d3c2b-1a09-4f8e-b7d6-c5b4a3928170The ids of the assets to add to the collection
[]Add all assets under these paths to the collection
[]The updated collection
falseNot found
Validation Error
POST /collections/{collection_id}/assets HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 93
{
"asset_ids": [
"c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2f",
"4a5b6c7d-8e9f-4a0b-9c1d-2e3f4a5b6c7d"
]
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"created_by": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"email": "text",
"avatar_url": "text",
"user_type": "regular"
},
"is_public_enabled": true,
"allowed_actions": [
"manage"
],
"invite_id": "123e4567-e89b-12d3-a456-426614174000",
"settings": {
"view": "text",
"thumbnail_view": "text",
"thumbnail_size": "text",
"card_size": 1,
"metadata_attribute_ids": [
"text"
],
"tile_rounded": true,
"watermarking_config": {
"mode": "session",
"text": "text",
"position": "top_left",
"font_size": "text"
},
"sort": {
"attribute": "text",
"direction": "ASC"
},
"watermark_proxies": true
},
"icon_type": "color",
"icon": "text",
"icon_attachment": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"uploader_id": "123e4567-e89b-12d3-a456-426614174000",
"uploaded": true,
"name": "text",
"mime_type": "text",
"size": 1,
"download_url": "text"
},
"background_image": "text",
"background_image_attachment": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"uploader_id": "123e4567-e89b-12d3-a456-426614174000",
"uploaded": true,
"name": "text",
"mime_type": "text",
"size": 1,
"download_url": "text"
},
"preview_image": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
},
"is_expired": false,
"password_protected": true,
"expiration_date": "2026-01-01T00:00:00.000Z"
}Remove assets from a collection
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the collection to remove a file from
5e4d3c2b-1a09-4f8e-b7d6-c5b4a3928170The ids of the assets to remove from the collection
Successful Response
falseNot found
Validation Error
DELETE /collections/{collection_id}/assets HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 54
{
"asset_ids": [
"123e4567-e89b-12d3-a456-426614174000"
]
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"created_by": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"email": "text",
"avatar_url": "text",
"user_type": "regular"
},
"is_public_enabled": true,
"allowed_actions": [
"manage"
],
"invite_id": "123e4567-e89b-12d3-a456-426614174000",
"settings": {
"view": "text",
"thumbnail_view": "text",
"thumbnail_size": "text",
"card_size": 1,
"metadata_attribute_ids": [
"text"
],
"tile_rounded": true,
"watermarking_config": {
"mode": "session",
"text": "text",
"position": "top_left",
"font_size": "text"
},
"sort": {
"attribute": "text",
"direction": "ASC"
},
"watermark_proxies": true
},
"icon_type": "color",
"icon": "text",
"icon_attachment": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"uploader_id": "123e4567-e89b-12d3-a456-426614174000",
"uploaded": true,
"name": "text",
"mime_type": "text",
"size": 1,
"download_url": "text"
},
"background_image": "text",
"background_image_attachment": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"uploader_id": "123e4567-e89b-12d3-a456-426614174000",
"uploaded": true,
"name": "text",
"mime_type": "text",
"size": 1,
"download_url": "text"
},
"preview_image": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
},
"is_expired": false,
"password_protected": true,
"expiration_date": "2026-01-01T00:00:00.000Z"
}Move a single asset to a new position in the collection. Only updates the assets affected by the move.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the collection whose asset order will be updated
5e4d3c2b-1a09-4f8e-b7d6-c5b4a3928170The id of the asset to move
The new position for the asset (1-indexed)
Successful Response
Not found
Validation Error
POST /collections/{collection_id}/assets/order HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 65
{
"asset_id": "123e4567-e89b-12d3-a456-426614174000",
"new_order": 1
}No content
Get the directory paths from a collection
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the collection to get directory paths from
5e4d3c2b-1a09-4f8e-b7d6-c5b4a3928170Optional query to filter directory paths
The directory paths included in the collection
Not found
Validation Error
GET /collections/{collection_id}/directories HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
[
"text"
]Add directory paths to a collection.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the collection to add directory paths to
5e4d3c2b-1a09-4f8e-b7d6-c5b4a3928170The paths of the directories to add to the collection
The updated collection
falseNot found
Validation Error
POST /collections/{collection_id}/directories HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 28
{
"directory_paths": [
"text"
]
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"created_by": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"email": "text",
"avatar_url": "text",
"user_type": "regular"
},
"is_public_enabled": true,
"allowed_actions": [
"manage"
],
"invite_id": "123e4567-e89b-12d3-a456-426614174000",
"settings": {
"view": "text",
"thumbnail_view": "text",
"thumbnail_size": "text",
"card_size": 1,
"metadata_attribute_ids": [
"text"
],
"tile_rounded": true,
"watermarking_config": {
"mode": "session",
"text": "text",
"position": "top_left",
"font_size": "text"
},
"sort": {
"attribute": "text",
"direction": "ASC"
},
"watermark_proxies": true
},
"icon_type": "color",
"icon": "text",
"icon_attachment": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"uploader_id": "123e4567-e89b-12d3-a456-426614174000",
"uploaded": true,
"name": "text",
"mime_type": "text",
"size": 1,
"download_url": "text"
},
"background_image": "text",
"background_image_attachment": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"uploader_id": "123e4567-e89b-12d3-a456-426614174000",
"uploaded": true,
"name": "text",
"mime_type": "text",
"size": 1,
"download_url": "text"
},
"preview_image": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
},
"is_expired": false,
"password_protected": true,
"expiration_date": "2026-01-01T00:00:00.000Z"
}Remove directory paths from a collection
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the collection to remove directory paths from
5e4d3c2b-1a09-4f8e-b7d6-c5b4a3928170The paths of the directories to remove from the collection
Successful Response
falseNot found
Validation Error
DELETE /collections/{collection_id}/directories HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 28
{
"directory_paths": [
"text"
]
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"created_by": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"email": "text",
"avatar_url": "text",
"user_type": "regular"
},
"is_public_enabled": true,
"allowed_actions": [
"manage"
],
"invite_id": "123e4567-e89b-12d3-a456-426614174000",
"settings": {
"view": "text",
"thumbnail_view": "text",
"thumbnail_size": "text",
"card_size": 1,
"metadata_attribute_ids": [
"text"
],
"tile_rounded": true,
"watermarking_config": {
"mode": "session",
"text": "text",
"position": "top_left",
"font_size": "text"
},
"sort": {
"attribute": "text",
"direction": "ASC"
},
"watermark_proxies": true
},
"icon_type": "color",
"icon": "text",
"icon_attachment": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"uploader_id": "123e4567-e89b-12d3-a456-426614174000",
"uploaded": true,
"name": "text",
"mime_type": "text",
"size": 1,
"download_url": "text"
},
"background_image": "text",
"background_image_attachment": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"uploader_id": "123e4567-e89b-12d3-a456-426614174000",
"uploaded": true,
"name": "text",
"mime_type": "text",
"size": 1,
"download_url": "text"
},
"preview_image": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
},
"is_expired": false,
"password_protected": true,
"expiration_date": "2026-01-01T00:00:00.000Z"
}Start the upload process for a collection attachment
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the collection to create the attachment for
5e4d3c2b-1a09-4f8e-b7d6-c5b4a3928170The id of the drive to create the attachment for
The name of the attachment to be created
The mime type of the attachment to be created
The size of the attachment to be created
What the upload is for ('icon' or 'background')
The id of the created user collection
Not found
Validation Error
POST /collections/{collection_id}/attachments HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 113
{
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"mime_type": "text",
"size": 1,
"upload_for": "icon"
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"uploader_id": "123e4567-e89b-12d3-a456-426614174000",
"uploaded": true,
"name": "text",
"mime_type": "text",
"size": 1,
"upload_url": "text"
}Mark the upload of a collection attachment as complete
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the collection to mark the attachment uploaded for
5e4d3c2b-1a09-4f8e-b7d6-c5b4a3928170The id of the attachment to mark as uploaded
The id of the drive to mark the attachment uploaded for
Successful Response
Not found
Validation Error
POST /collections/{collection_id}/attachments/{attachment_id} HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 51
{
"drive_id": "123e4567-e89b-12d3-a456-426614174000"
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"uploader_id": "123e4567-e89b-12d3-a456-426614174000",
"uploaded": true,
"name": "text",
"mime_type": "text",
"size": 1,
"download_url": "text"
}Last updated
Was this helpful?

