How can I list all of my existing folders and subfolders?

Cloudinary allows you to list all of your existing folders and subfolders via the Admin-API.

For example, for listing all root folders, send an HTTP GET request to the following URL:

https://api.cloudinary.com/v1_1/<your_cloud_name>/folders

Or, listing all folders within a subfolder:

https://api.cloudinary.com/v1_1/<your_cloud_name>/folders/<subfolder>

Note that requests must first be signed with your credentials, as described in our Admin-API documentation.

Our client libraries provide helper methods to simplify the request, e.g. (PHP):

$api = new \Cloudinary\Api();
$api->root_folders();
$api->subfolders("my_folder");
Have more questions? Submit a request

Comments

Powered by Zendesk