---
title: "Deprecated in favor of"
method: GET
path: "/api/{session}/all-groups"
tags: ["Group"]
deprecated: true
---

# Deprecated in favor of

`GET /api/{session}/all-groups`

> **Deprecated.**

## Path parameters

- `session` string, required

## Query parameters

- `groupId` string
- `wid` string

## Request body

- object
  - `$groupId` string
  - `$path` string

## Response `200`

Group information retrieved successfully

- object
  - `status` string
  - `response` object
    - `id` string
    - `name` string
    - `description` string, nullable
    - `subject` string
    - `subjectUpdatedAt` string, nullable
    - `subjectUpdatedBy` string, nullable
    - `descriptionUpdatedAt` string, nullable
    - `descriptionUpdatedBy` string, nullable
    - `createdAt` string, nullable
    - `lastActivityAt` string, nullable
    - `participants` object[]
      - `id` string
      - `isAdmin` boolean

## Other responses

- `400` — Bad Request
- `500` — Internal error retrieving group info

---

[API](https://skmtc.net/wppconnect-team/apis/wppconnect-api-rest.md) · [All operations](https://skmtc.net/wppconnect-team/apis/wppconnect-api-rest/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wppconnect-team/wppconnect-api-rest/versions/9b4f8efc1a6b/schema)
