---
title: "Get group by id from a directory"
method: GET
path: "/api/v1/dsync/groups/{groupId}"
tags: ["Directory Sync"]
---

# Get group by id from a directory

`GET /api/v1/dsync/groups/{groupId}`

## Path parameters

- `groupId` string, required

## Query parameters

- `tenant` string
- `product` string
- `directoryId` string

## Response `200`

Success

- Group
  - `id` string — Group ID
  - `name` string — Group name
  - `raw` object — Raw group attributes from the Identity Provider

---

[API](https://skmtc.net/ory/apis/enterprise-sso-directory-sync.md) · [All operations](https://skmtc.net/ory/apis/enterprise-sso-directory-sync/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ory/enterprise-sso-directory-sync/versions/d92c991ace28/schema)
