Get Folder Details with Flows
Retrieve the details of a specific folder, including its associated flows, by its folderId.
GET
Path Parameters
folderIdstringrequiredThe unique identifier of the folder whose details are being requested.
Response Fields
_idstringThe unique identifier of the folder.
workspaceIdstringThe identifier of the workspace where the folder belongs.
namestringThe name of the folder.
colorstringThe color of the folder, represented as a hex code.
iconstringThe icon identifier for the folder.
flowTypestringThe type of flow, either "call" or "message".
pathwayModelstringThe model type for flows, derived from flowType.
pathwaysarrayAn array of flow objects associated with the folder. Each flow object contains details such as its ID, name, and other relevant information.
createdAtstringTimestamp when the folder was created (ISO 8601 format).
updatedAtstringTimestamp when the folder was last updated (ISO 8601 format).
{
"_id": "folder123",
"workspaceId": "workspace456",
"name": "My Workflow Folder",
"color": "#FF0000",
"icon": "folder-icon",
"flowType": "call",
"pathwayModel": "Flow",
"pathways": [
{
"_id": "flow123",
"name": "Support Call Flow",
"description": "Handles customer support calls",
"createdAt": "2023-10-15T10:00:00Z",
"updatedAt": "2023-10-15T10:00:00Z"
}
],
"createdAt": "2023-10-15T09:30:00Z",
"updatedAt": "2023-10-15T10:00:00Z"
}