A team folder is a shared folder with its own storage budget and membership (Pro only). The token’s creator must be an owner or admin of the workspace.
List team folders
| Method and path | Scope | What it does |
|---|---|---|
GET /teams |
teams:create |
The workspace’s team folders, newest first |
curl -H "Authorization: Bearer $TARKLE_TOKEN" -H "X-Workspace-Key: $KEY" \
https://tarkle.com/api/v1/teamsAnswers { "data": [...] }. Each entry: id, masterFolderId (the team folder’s own library folder id, or null), name, description, access ("everyone" or "members"), created_at. Deleted team folders are not listed. This is a minimal list for finding a team folder’s id — storage usage and membership stay in the app (Settings > Team folders).
Create a team folder
| Method and path | Scope | What it does |
|---|---|---|
POST /teams |
teams:create |
Create a team folder |
curl -X POST -H "Authorization: Bearer $TARKLE_TOKEN" -H "X-Workspace-Key: $KEY" \
-H "Content-Type: application/json" \
-d '{"name": "Marketing", "access": "everyone", "budget_gb": 50}' \
https://tarkle.com/api/v1/teamsname is required. description and budget_gb (1-1,000,000) are optional. access is "everyone" (every workspace member) or "members" (only people added to it — add them through the app for now). The answer is 201 with the new team folder’s id, masterFolderId, name and access.