---
title: "List attribute groups"
method: GET
path: "/v1/attribute-groups"
tags: ["Attribute groups"]
---

# List attribute groups

`GET /v1/attribute-groups`

## Request

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

List all available attribute groups in the organization. You can optionally provide the `limit` query parameter to specify the maximum number of groups to return per page.

## Query parameters

- `limit` number

## Response `200`

OK. Attribute groups for the account were found.

- AttributeListGroupResponse: Response containing a list of attribute groups
  - `items` AttributeGroupObject[]: List of attribute groups
    - `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

---

[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)
