Coach

List active groups with their current-client counts and, for a cohort, its week

Changed on
get/api/coach/groups

Request

  • Base URL
    https://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.rewritelifestyle.ai/api/coach/groups
  • Auth
    HTTP bearer

Headers

x-timezonestring required

Response

unknown required

Example response

{
  "success": true,
  "groups": [
    {
      "id": 1,
      "name": "January 2026 Cohort",
      "description": null,
      "type": "coaching",
      "startDate": "2026-01-12",
      "endDate": "2026-05-03",
      "memberCount": 12,
      "week": 6,
      "totalWeeks": 16
    }
  ]
}

Changes