x-api-key: ********************curl --location '/v1/workspaces' \
--header 'x-api-key: <api-key>'{
"status": 200,
"message": "Workspaces fetched successfully",
"data": {
"userId": "cmg9jatbj0000jv04cejuz12b",
"totalWorkspaces": 2,
"workspaces": [
{
"id": "wks1",
"name": "Development Workspace",
"description": "Workspace for development team",
"createdAt": "2025-10-01T12:00:00Z"
},
{
"id": "wks2",
"name": "Marketing Workspace",
"description": "Workspace for marketing team",
"createdAt": "2025-10-02T12:00:00Z"
}
]
}
}