Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Get Shareable Link Folders

Retrieves the list of folders associated with a shareable link with pagination and sorting

GET/api/v1/{app_id}/shareable-links/{token}/folders
Path parameters
tokenstringrequired

Shareable Link Token

app_idstringrequired
Query parameters
pageinteger

Page number (default: 1)

per_pageinteger

Items per page (default: 20, max: 100)

sort_bystring

Sort field: name, created_at, updated_at (default: created_at)

sort_orderstring

Sort order: asc, desc (default: desc)

Responses
200

Shareable link folders retrieved successfully

dataFolderResponse[] | null
Show properties
Array of FolderResponse
created_atstring
file_countinteger
has_content_accessboolean
idstring
image_countinteger
is_defaultboolean
namestring
parent_idstring | null
publicboolean
slugstring
updated_atstring | null
video_countinteger
paginationinternal_pkg_webserver_public-webserver_v1.PageInfo
Show properties
pageinteger
per_pageinteger
total_itemsinteger
total_pagesinteger
successboolean
400

Invalid request

detailsstring[] | null
errorstring
404

Shareable link not found

detailsstring[] | null
errorstring
500

Internal server error

detailsstring[] | null
errorstring
Try it
Server
Parameters
Request
curl -X GET '//dam.enad.io/api/v1/string/shareable-links/string/folders' \
  -H 'Accept: application/json'
Response
{
  "data": [
    {
      "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
    }
  ],
  "pagination": {
    "page": 0,
    "per_page": 0,
    "total_items": 0,
    "total_pages": 0
  },
  "success": true
}