---
title: "Retrieve a custom attribute for a group"
method: GET
path: "/api/v4/groups/{id}/custom_attributes/{key}"
tags: ["custom_attributes"]
---

# Retrieve a custom attribute for a group

`GET /api/v4/groups/{id}/custom_attributes/{key}`

## Request

- Base URL: `https://gitlab.com`
- URL: `https://gitlab.com/api/v4/groups/{id}/custom_attributes/{key}`
- Auth: none declared

Retrieves a specified custom attribute for a group.

## Path parameters

- `key` string, required
- `id` integer, required

## Response `200`

Retrieve a custom attribute for a group

- APIEntitiesCustomAttribute: API_Entities_CustomAttribute model
  - `key` string, required
  - `value` string, required

---

[API](https://skmtc.dev/gitlab/apis/gitlab-api.md) - [All operations](https://skmtc.dev/gitlab/apis/gitlab-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gitlab/apis/gitlab-api/revisions/b234947ef3f2?raw)
