Overview
Folders are objects in the API that contain other objects. As shown in the API object map, Folders are top-level containers of three types: List, Message, and File. Folders can only hold objects of their type, but provide a way of breaking down one type of object into smaller, more manageable categories. For example, you may have Message Folders named Email and SMS.
The API Folder methods enable you to perform tasks such as adding, editing, deleting, and searching for Folders. Each time a Folder method is called, it can act on one Folder type
.
A Folder does not actually have an array of the Lists, Messages, or Files it contains; instead, these objects are flagged with the id
or name
of their Folder.
Folder Methods
Creates a new Folder.
Counts the number of Folders that match the search criteria.
Deletes the specified Folder.
Renames the specified Folder.
Returns the details of a specific Folder.
Returns the Folders that match the search criteria.