List folders

List folders and subfolders with their IDs.

GET https://cotlet.dev/api/v1/vimeo/folders

read

Returns every folder you can see with its ID, name, parent and video count, top level first. Subfolders go up to 10 levels deep. On a team account it lists the Team library folders you have access to.

Parameters

Parameters: list_folders
NameTypeDescription
cursor string string Next page cursor from the previous call.

Request

cURL
curl https://cotlet.dev/api/v1/vimeo/folders \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("vimeo", "list_folders")
Node.js
const result = await cotlet.call('vimeo', 'list_folders');
CLI
cotlet call vimeo list_folders

Example response

JSON

{
  "folders": [
    {
      "folder_id": "20481",
      "name": "Webinars",
      "parent_id": null,
      "video_count": 14
    },
    {
      "folder_id": "20482",
      "name": "Tutorials",
      "parent_id": null,
      "video_count": 10
    },
    {
      "folder_id": "20490",
      "name": "Customer stories",
      "parent_id": "20482",
      "video_count": 3
    }
  ]
}

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.