curl --request GET \
--url https://api.caret.so/v1/folders \
--header 'X-API-Key: <your_api_key>'
{
"folders": [
{
"id": "fld_123456789",
"name": "Project Alpha",
"icon": "๐",
"parentFolderId": null,
"createdAt": "2024-01-28T12:00:00Z",
"memberCount": 5
},
{
"id": "fld_987654321",
"name": "Research",
"icon": "๐",
"parentFolderId": "fld_123456789",
"createdAt": "2024-01-28T12:30:00Z",
"memberCount": 3
}
]
}
Get a list of all folders in the workspace
curl --request GET \
--url https://api.caret.so/v1/folders \
--header 'X-API-Key: <your_api_key>'
{
"folders": [
{
"id": "fld_123456789",
"name": "Project Alpha",
"icon": "๐",
"parentFolderId": null,
"createdAt": "2024-01-28T12:00:00Z",
"memberCount": 5
},
{
"id": "fld_987654321",
"name": "Research",
"icon": "๐",
"parentFolderId": "fld_123456789",
"createdAt": "2024-01-28T12:30:00Z",
"memberCount": 3
}
]
}
Show Folder
curl --request GET \
--url https://api.caret.so/v1/folders \
--header 'X-API-Key: <your_api_key>'
{
"folders": [
{
"id": "fld_123456789",
"name": "Project Alpha",
"icon": "๐",
"parentFolderId": null,
"createdAt": "2024-01-28T12:00:00Z",
"memberCount": 5
},
{
"id": "fld_987654321",
"name": "Research",
"icon": "๐",
"parentFolderId": "fld_123456789",
"createdAt": "2024-01-28T12:30:00Z",
"memberCount": 3
}
]
}