Create Folder
Written By Team BugSmash
Last updated 9 days ago
METHOD: POST
URL: https://api.bugsmash.io/api/v2/folder
HEADERS:
X-API-Key: YOUR_API_KEY
Content-Type: application/json
REQUEST BODY:
name (string, required) - Name of the folder
projectIds (array, optional) - List of project UUIDs to attach; can be empty array
parentId (uuid, optional) - ID of the parent folder
CURL:
curl --location 'https://api.bugsmash.io/api/v2/folder' \
--header 'X-API-Key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"name": "New Folder",
"projectIds": ["{projectId1}", "{projectId2}"]
}'
RESPONSE:
{
"status": true,
"message": "Folder created",
"data": {
"name": "New Folder",
"workspace_id": "c3d4e5f6-a7b8-9012-cdef-012345678902",
"owner": "b2c3d4e5-f6a7-8901-bcde-f01234567891",
"share_access": "public",
"created_by": "b2c3d4e5-f6a7-8901-bcde-f01234567891",
"parent_id": "e5f6a7b8-c9d0-1234-efab-234567890124",
"id": "f6a7b8c9-d0e1-2345-fabc-345678901235",
"updated_at": "2026-04-06T15:39:55.000000Z",
"created_at": "2026-04-06T15:39:55.000000Z",
"short_url": "https://app.bugsmash.io/review/KlMnO"
}
}