GET
/api/v1/cohorts/by-department/{id}
curl \
--request GET 'https://api.echoplain.social/api/v1/cohorts/by-department/{id}'
Response examples (200)
{
"message": "string",
"cohorts": {
"createdAt": "2025-05-04T09:42:00Z",
"updatedAt": "2025-05-04T09:42:00Z",
"id": "string",
"name": "string",
"departmentId": "string"
}
}
Response examples (400)
{
"message": "string",
"error": "string",
"statusCode": 42.0
}