---
title: "Get Product Preferences"
method: GET
path: "/v1/products/{productId}/preferences"
tags: ["Products"]
---

# Get Product Preferences

`GET /v1/products/{productId}/preferences`

This endpoint returns the preferences of a Product 
identified by the `productId`.

## Path parameters

- `productId` string, uuid, required

## Response `200`

When everything is ok, the product preferences data is returned.

- PreferencesModel
  - `reasonRequired` boolean, required — Indicates that a mandatory note required for saving and publishing.
  - `keyGenerationMode` 'camelCase' | 'lowerCase' | 'upperCase' | 'pascalCase' | 'kebabCase', required — Determines the Feature Flag key generation mode.
  - `showVariationId` boolean, required — Indicates whether a variation ID's must be shown on the ConfigCat Dashboard.
  - `reasonRequiredEnvironments` ReasonRequiredEnvironmentModel[], nullable, required — List of Environments where mandatory note must be set before saving and publishing.
    - `environmentId` string, uuid, required — Identifier of the Environment.
    - `reasonRequired` boolean, required — Indicates that a mandatory note is required in this Environment for saving and publishing.
    - `environmentName` string, nullable, required — Name of the Environment.
  - `mandatorySettingHint` boolean, required — Indicates whether Feature flags and Settings must have a hint.
  - `approveRequired` boolean, required — Indicates that a mandatory approval is required for saving and publishing.
  - `approveRequiredEnvironments` ApproveRequiredEnvironmentModel[], nullable, required — List of Environments where mandatory approval must be given before changes are applied.
    - `environmentId` string, uuid, required — Identifier of the Environment.
    - `approveRequired` boolean, required — Indicates that a mandatory approval is required in this Environment before changes are applied.
    - `environmentName` string, nullable, required — Name of the Environment.

## Other responses

- `400` — Bad request.
- `404` — Not found.
- `429` — Too many requests. In case of the request rate exceeds the rate limits.

---

[API](https://skmtc.net/configcat/apis/configcat-public-management-api.md) · [All operations](https://skmtc.net/configcat/apis/configcat-public-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/configcat/configcat-public-management-api/revisions/88fd971944d7/schema)
