curl --request GET \
--url https://www.genviral.io/api/partner/v1/folders/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa \
--header 'Authorization: Bearer <token>'
{
"ok": true,
"code": 200,
"message": "Folder retrieved",
"data": {
"id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"name": "Product Shots",
"media_type": "upload",
"parent_folder_id": null,
"path": "/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"file_count": 12,
"subfolder_count": 2,
"preview_files": [
{
"id": "file_1",
"url": "https://cdn.vireel.io/...",
"content_type": "image/jpeg"
}
],
"created_at": "2026-03-01T09:00:00.000Z",
"updated_at": "2026-03-01T09:00:00.000Z"
}
}
Folders
Get Folder
Retrieve one folder in the authenticated key scope
GET
/
api
/
partner
/
v1
/
folders
/
{folderId}
curl --request GET \
--url https://www.genviral.io/api/partner/v1/folders/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa \
--header 'Authorization: Bearer <token>'
{
"ok": true,
"code": 200,
"message": "Folder retrieved",
"data": {
"id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"name": "Product Shots",
"media_type": "upload",
"parent_folder_id": null,
"path": "/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"file_count": 12,
"subfolder_count": 2,
"preview_files": [
{
"id": "file_1",
"url": "https://cdn.vireel.io/...",
"content_type": "image/jpeg"
}
],
"created_at": "2026-03-01T09:00:00.000Z",
"updated_at": "2026-03-01T09:00:00.000Z"
}
}
Returns a single folder summary, including counts and preview files.
Path Parameters
string
required
Folder UUID.
curl --request GET \
--url https://www.genviral.io/api/partner/v1/folders/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa \
--header 'Authorization: Bearer <token>'
{
"ok": true,
"code": 200,
"message": "Folder retrieved",
"data": {
"id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"name": "Product Shots",
"media_type": "upload",
"parent_folder_id": null,
"path": "/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"file_count": 12,
"subfolder_count": 2,
"preview_files": [
{
"id": "file_1",
"url": "https://cdn.vireel.io/...",
"content_type": "image/jpeg"
}
],
"created_at": "2026-03-01T09:00:00.000Z",
"updated_at": "2026-03-01T09:00:00.000Z"
}
}
Error Responses
400 missing_folder_id- missing route parameter422 invalid_path-folderIdis not a valid UUID422 invalid_folder_media_type- folder media type is not supported by Partner folder APIs404 not_found- folder not visible in key scope401- authentication failed (missing/invalid/revoked token)402 subscription_required- active Creator/Professional/Business plan required403 tier_not_allowed- Scheduler tier cannot use Partner API500 folder_get_failed- unexpected failure
