curl --request GET \
--url 'https://haunt.gg/api/imagehost/folders/{id}?key='{
"folder": {
"id": "<string>",
"folderName": "<string>",
"folderPublic": true,
"folderPasswordEnabled": true,
"createdAt": 123,
"updatedAt": 123
},
"files": [
{
"id": "<string>",
"fileName": "<string>",
"fileExtension": "<string>",
"fileSize": 123,
"fileOriginal": "<string>",
"uploadAt": 123,
"favorite": true,
"folder": {
"id": "<string>",
"folderName": "<string>",
"folderPublic": true,
"folderPasswordEnabled": true,
"createdAt": 123,
"updatedAt": 123
},
"fileWidth": 123,
"fileHeight": 123
}
],
"total": 123,
"limit": 123,
"offset": 123
}Retrieve a specific folder with its files. Requires your Account API key.
curl --request GET \
--url 'https://haunt.gg/api/imagehost/folders/{id}?key='{
"folder": {
"id": "<string>",
"folderName": "<string>",
"folderPublic": true,
"folderPasswordEnabled": true,
"createdAt": 123,
"updatedAt": 123
},
"files": [
{
"id": "<string>",
"fileName": "<string>",
"fileExtension": "<string>",
"fileSize": 123,
"fileOriginal": "<string>",
"uploadAt": 123,
"favorite": true,
"folder": {
"id": "<string>",
"folderName": "<string>",
"folderPublic": true,
"folderPasswordEnabled": true,
"createdAt": 123,
"updatedAt": 123
},
"fileWidth": 123,
"fileHeight": 123
}
],
"total": 123,
"limit": 123,
"offset": 123
}Your Account API key (found in your dashboard)
The folder ID
Maximum number of files to return (max 100)
x <= 100Number of files to skip
x >= 0Was this page helpful?