GET /api/v1/cohorts/list

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • message string Required

      Response message

    • cohorts object Required

      An array of cohorts of type shown below

      Hide cohorts attributes Show cohorts attributes object
      • createdAt string(date-time) Required

        The date and time the resource was created

      • updatedAt string(date-time) Required

        The date and time the resource was last updated

      • id string Required

        Item ID

      • name string Required
      • departmentId string Required
  • 400 application/json

    Default bad request error 400 response

    Hide response attributes Show response attributes object
    • message string Required

      Response message

    • error string Required
    • statusCode number Required
GET /api/v1/cohorts/list
curl \
 --request GET 'https://api.echoplain.social/api/v1/cohorts/list'
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
}