Skip to main content
GET
/
imagehost
/
folders
List Folders
curl --request GET \
  --url 'https://haunt.gg/api/imagehost/folders?key='
{
  "folders": [
    {
      "id": "<string>",
      "folderName": "<string>",
      "folderPublic": true,
      "folderPasswordEnabled": true,
      "createdAt": 123,
      "updatedAt": 123,
      "fileCount": 123,
      "totalSize": 123
    }
  ],
  "total": 123
}

Authorizations

key
string
query
required

Your Account API key (found in your dashboard)

Response

Folders retrieved successfully

folders
object[]
required
total
integer
required

Total number of folders