Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Get DAM Folder Hierarchy Tree

Retrieves the complete hierarchical tree of all accessible Digital Asset Management folders with nested child folders and media counts Deprecated: use GET /api/v2/{team_slug}/{app_slug}/dam/folders/tree instead.

GET/api/v1/{team_slug}/{app_slug}/dam/folders/treedeprecated
Authorization
AuthorizationBearer token · headerrequired

Management API token, sent as Authorization: Bearer <token>.

Path parameters
app_slugstringrequired

App slug

team_slugstringrequired

Team slug

Responses
200

Folder tree retrieved successfully

datagithub_com_enadhq_nabbit_internal_pkg_webserver_models.FolderTree[]required
Show properties
Array of github_com_enadhq_nabbit_internal_pkg_webserver_models.FolderTree
childrengithub_com_enadhq_nabbit_internal_pkg_webserver_models.FolderTree[] | null
Show properties
Array of github_com_enadhq_nabbit_internal_pkg_webserver_models.FolderTree
Circular reference to github_com_enadhq_nabbit_internal_pkg_webserver_models.FolderTree.
foldergithub_com_enadhq_nabbit_internal_pkg_webserver_models.Folder
Show properties
created_atstring
file_countinteger
has_content_accessboolean
idstring
image_countinteger
is_defaultboolean
namestring
parent_idstring | null
publicboolean
slugstring
updated_atstring
video_countinteger
detailsstring[]

Additional contextual information about the response. Used to provide supplementary details beyond the main data payload, such as validation warnings or processing notes

successbooleanrequired
401

Unauthorized access

detailsstring[]
messagestring
successbooleanrequired
500

Internal server error

detailsstring[]
messagestring
successbooleanrequired
Try it
Server
Authorization
Parameters
Request
curl -X GET 'https://api.enad.io/api/v1/string/string/dam/folders/tree' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Response
{
  "data": [
    {
      "children": [
        {}
      ],
      "folder": {
        "created_at": "string",
        "file_count": 0,
        "has_content_access": true,
        "id": "string",
        "image_count": 0,
        "is_default": true,
        "name": "string",
        "parent_id": "string",
        "public": true,
        "slug": "string",
        "updated_at": "string",
        "video_count": 0
      }
    }
  ],
  "details": [
    "string"
  ],
  "success": true
}