---
title: "The user's role on a Snyk group"
method: GET
path: "/snyk/groups/{id}/role/"
tags: ["Teams"]
---

# The user's role on a Snyk group

`GET /snyk/groups/{id}/role/`

## Request

- Base URL: `https://api.probely.com`
- URL: `https://api.probely.com/snyk/groups/{id}/role/`
- Auth: API key in header `Authorization`

The name of the user's Snyk role on the group, read from Snyk and cached for 5 minutes; `role` is null when the user holds no role on the group. Returns 404 when the group is not one of the user's groups. Returns 409 with code `reauth_required` when the Snyk login token is missing, expired, or rejected by Snyk. Returns 502 when Snyk cannot be read.

## Path parameters

- `id` string, required

## Response `200`

- SnykGroupRole: Response body of the Snyk group role.
  - `role` string, nullable, required: Name of the user's Snyk role on the group, or null when they hold none.

## Other responses

- `400`
- `401`
- `403`
- `404`
- `409`
- `502`

## Changes

- **2026-11-03** `0b2f6cbe644d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/probely/apis/snyk-api-web-s-api-reference-documentation/changes/snyk/groups/:id/role/get.md)

---

[API](https://skmtc.dev/probely/apis/snyk-api-web-s-api-reference-documentation.md) - [All operations](https://skmtc.dev/probely/apis/snyk-api-web-s-api-reference-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/probely/apis/snyk-api-web-s-api-reference-documentation/revisions/0b2f6cbe644d?raw)
