Skip to content

Get a Folder

Endpoint used to get a folder from a Toolzz Bots workspace.

Terminal window
curl --request GET \
--url 'https://bots.toolzz.ai/api/v1/folders/{folderId}/{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
folderIdstringThe unique identifier of the folder to get.Yes
workspaceIdstringThe unique identifier of the workspace to get the folder from.Yes

KeyTypeDescription
foldersobject[]The workspace folder 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.