---
title: "Get attribute group"
method: GET
path: "/v1/attribute-groups/{groupId}"
tags: ["Attribute groups"]
---

# Get attribute group

`GET /v1/attribute-groups/{groupId}`

## Request

- Base URL: `https://sandbox.pismolabs.io/rules`
- URL: `https://sandbox.pismolabs.io/rules/v1/attribute-groups/{groupId}`
- Auth: HTTP bearer

Get a specific attribute group by its ID.

## Path parameters

- `groupId` string, required

## Response `200`

OK. Attribute group was found.

- AttributeGroupObject: Attribute group object
  - `id` string, required: Attribute group ID, unique within the organization
  - `description` string, required: Short description of the attribute group
  - `type` 'merchant_id' | 'merchant_category_code', required: Flex control scope * `merchant_category_code`: Merchant category code (MCC) is a four-digit number assigned to a business by credit card companies. It is used to classify the business by the type of goods or services it provides. * `merchant_id`: Unique ID assigned to a merchant by the payment processor.
  - `values` string[], required: Attribute group values - Each value must be unique within the array - Maximum of 20,000 items - Each item must not exceed 15 characters

## Other responses

- `404`: Not found. The attribute group was not found.

---

[API](https://skmtc.dev/pismo/apis/core-platform-flex-controls.md) - [All operations](https://skmtc.dev/pismo/apis/core-platform-flex-controls/llms.txt) - [OpenAPI document](https://skmtc.dev/pismo/apis/core-platform-flex-controls/revisions/f6ad29885c69?raw)
