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:
Or, listing all folders within a 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();