Retrieve the Email Folder Hierarchy
Marketing Cloud has a new model for storing, finding, managing, creating, sharing, and distributing all content-related objects. Access the objects created with the new Content Builder tools using the REST API. Your existing SOAP API integrations only function with the Classic tools in Marketing Cloud.
This page contains information about retrieving the email folder hierarchy.
Why Retrieve the Email Folder Hierarchy
This API call retrieves a collection of folders. Each folder has the following information:
How To Retrieve the Email Folder Hierarchy
Use the sample code below as an example to construct your own API calls.
Sample .NET Code
Sample PHP Code
To retrieve the email folder hierarchy in a single business unit, add the following lines of code to the example: