---
title: "Groups of the organization with their members"
method: GET
path: "/api/orgs/{orgId}/groups"
tags: ["groups"]
---

# Groups of the organization with their members

`GET /api/orgs/{orgId}/groups`

## Request

- Base URL: `https://api.wizbi.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.wizbi.ai/api/orgs/{orgId}/groups`
- Auth: none declared

## Path parameters

- `orgId` string, required

## Response `200`

Groups.

- object
  - `groups` GroupWithMembers[], required
    - `id` string, required
    - `orgId` string, required
    - `slug` string, required
    - `name` string, required
    - `description` string
    - `parentGroupId` string
    - `resources` object[]
      - `kind` 'connector', required
      - `id` string, required
      - `sharedBy` string
      - `sharedAt` string, date-time
    - `createdAt` string, date-time, required
    - `createdBy` string
    - `updatedAt` string, date-time
    - `updatedBy` string
    - `schemaVersion` integer
    - `members` object[], required
      - `principalId` string, required
      - `groupId` string, required
      - `orgId` string, required
      - `role` 'group_admin' | 'member'
      - `addedBy` string
      - `addedAt` string, date-time, required
      - `temporaryUntil` string, date-time

## Other responses

- `403`: Not a member.

---

[API](https://skmtc.dev/wizbi/apis/wizbi-core-api.md) · [All operations](https://skmtc.dev/wizbi/apis/wizbi-core-api/llms.txt) · [OpenAPI document](https://skmtc.dev/wizbi/apis/wizbi-core-api/revisions/5a47416c82ec?raw)
