Bold360 and BoldChat Developer Center

Retrieve all folders in an account

You can retrieve all active and deleted folders of a Bold360 account.

curl "https://api.boldchat.com/aid/$accountId/data/rest/json/v1/getFolders?auth=$authHash"

Response:

{
    "Status":"success",
    "Truncated":false
    "Data":[
    {
        "FolderID":"123456789",
        "Name":"Emails",
        "FolderType":4,
        "FolderFlags":"6",
        "ParentFolderID":null,
        "AccountID":"123456789",
        "Created":"2018-01-17T08:38:24.097Z",
        "Updated":"2018-01-17T08:38:24.097Z",
        "Deleted":null,
        "DeletedBy":null
    },
    {
        "FolderID":"123456788",
        "Name":"Messaging",
        "FolderType":73,
        "FolderFlags":"7",
        "ParentFolderID":null,
        "AccountID":"123456789",
        "Created":"2018-01-17T08:38:24.100Z",
        "Updated":"2018-01-17T08:38:24.100Z",
        "Deleted":null,
        "DeletedBy":null
    }]  
}