List workspace groups

get/v1/workspace-groups

Returns every workspace group on which the requester has an active membership (server-filtered; no client filter honoured).

Requires a bearer token: Authorization: Bearer <token>.

Request

cURL
curl -X GET https://api.wellapp.ai/v1/workspace-groups \
  -H "Authorization: Bearer $WELL_API_TOKEN"

Responses

200List of workspace groups.

{
  "data": {}
}

401Unauthorized.

{
  "code": "UNAUTHORIZED",
  "status": 401,
  "title": "Unauthorized",
  "message": "See title.",
  "meta": {
    "trace_id": "a1b2c3",
    "log_id": "a1b2c3"
  }
}