Move videos to folder

Move up to 50 videos into one folder.

POST https://cotlet.dev/api/v1/vimeo/folders/{folder_id}/videos-to-folder/move

write

Moves the videos to the folder and returns how many moved and which were skipped. Vimeo moves up to 50 selected videos at a time, so a longer list is refused. A video sits in one folder, so a moved video leaves its old one. Share links and embed codes do not change. It reaches no one and a second call moves the videos back, so it does not ask for confirmation by default.

Parameters

Parameters: move_videos_to_folder
NameTypeDescription
video_ids string[] required string[] Video IDs from search_videos, 50 at most.
folder_id string required string Destination folder ID from list_folders.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/vimeo/folders/20481/videos-to-folder/move \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"video_ids":["912345611","912345612","912345613"]}'
Python
result = client.call("vimeo", "move_videos_to_folder", {"video_ids":["912345611","912345612","912345613"],"folder_id":"20481"})
Node.js
const result = await cotlet.call('vimeo', 'move_videos_to_folder', {"video_ids":["912345611","912345612","912345613"],"folder_id":"20481"});
CLI
cotlet call vimeo move_videos_to_folder --data '{"video_ids":["912345611","912345612","912345613"],"folder_id":"20481"}'

Example response

JSON

{
  "folder_id": "20481",
  "folder": "Webinars",
  "moved": 3,
  "skipped": []
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.