Skip to content

List Folders

Endpoint used to list all folders in a Toolzz Bots workspace.

Terminal window
curl --request GET \
--url 'https://bots.toolzz.ai/api/v1/folders/{workspaceId}' \
--header 'Authorization: Bearer <token>'
{
"folders": [
{
"id": "<string>",
"name": "<string>",
"workspaceId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
]
}
ParameterTypeDescriptionRequired
AuthorizationStringAccess token (must contain “Bearer” before the token)Yes
ParameterTypeDescriptionRequired
workspaceIdstringThe unique identifier of the workspace to list folders from.Yes

KeyTypeDescription
foldersobject[]The workspace folders information.
folders[].idstringThe folder unique identifier.
folders[].namestringThe folder name.
folders[].workspaceIdstringUnique identifier of the workspace the folder belongs to.
folders[].createdAtstringThe folder creation date.
folders[].updatedAtstringThe folder last update date.

To access this endpoint, it is necessary to send a valid access token through the authorization header (Authorization) of the request.