foldercurl --location '/smartflows/templates?layout=folder&q=test' \
--header 'Authorization: Bearer JWT'{
"templates": [
{
"type": "favorite",
"name": "Favorite",
"items": [
{
"templateId": "35a5d0e7-934f-4d50-9f4d-8c370ca72017",
"name": "Customer Acquisition",
"description": null,
"folder": {
"folderId": "0642b079-d536-4723-bcaa-30208d17b900",
"name": "Temporary test smartflow folder",
"style": {
"color": "#FFFFFF"
}
},
"created": "2025-04-15T18:56:04+02:00",
"updated": "2025-04-15T18:56:04+02:00",
"internal": false,
"icon": "icons/star.png",
"actions": [
"createDraft"
]
}
]
}
]
}