Skip to main content
POST
/
vault
/
folders
/
{folderName}
/
media
Add media to folder
curl --request POST \
  --url https://api.example.com/vault/folders/{folderName}/media \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Fanvue-API-Version: <x-fanvue-api-version>' \
  --data '
{
  "mediaUuids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}
'
{
  "addedCount": 123
}
Required scope
  • write:media — Upload, modify, and manage media files and content assets. Also required for vault folder management.

Authorizations

Authorization
string
header
required

OAuth 2.0 access token, presented as a JWT bearer token in the Authorization header. Obtain a token via the authorization-code flow; the scopes granted to the token determine which operations it may call.

Headers

X-Fanvue-API-Version
string
default:2025-06-26
required

API version to use for the request

Example:

"2025-06-26"

Path Parameters

folderName
string
required

Folder name (URL-encoded in path)

Required string length: 1 - 255

Body

application/json
mediaUuids
string<uuid>[]
required

UUIDs of media items to attach to the folder

Required array length: 1 - 100 elements

Response

Media added to folder

addedCount
number
required

Number of media items successfully added