---
title: "Get List of Preference Centers"
method: GET
path: "/api/consentmanager/v2/preferencecenters"
tags: ["Preference Centers V2"]
---

# Get List of Preference Centers

`GET /api/consentmanager/v2/preferencecenters`

## Request

- Base URL: `https://hostname`
- URL: `https://hostname/api/consentmanager/v2/preferencecenters`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://{hostname}/api/access/v1/oauth/token` scopes: `CONSENT`, `CONSENT_READ`

Use this API to retrieve a list of all Preference Centers. The response will include details for each Preference Center along with the corresponding Preference Center ID, created date, and published date.

## Query parameters

- `page` integer
- `size` integer
- `sort` 'name,asc' | 'name,desc' | 'createdDate,asc' | 'createdDate,desc' | 'lastModifiedDate,asc' | 'lastModifiedDate,desc' | 'status,asc' | 'status,desc' | 'version,asc' | 'version,desc'
- `dataElementGuid` string, uuid

## Response `200`

OK - Successfully retrieved list of preference centers.

- ConsentPreferencesUniversalConsentPreferenceManagPagePreferenceCenterSummaryDtoV2
  - `content` ConsentPreferencesUniversalConsentPreferenceManagPreferenceCenterSummaryDtoV2[]: The list of items for the current page.
    - `id` string, uuid, required: Unique identifier of the Preference Center
    - `name` string, required: Name of the Preference Center
    - `organizationName` string, required: Name of the organization that owns the Preference Center
    - `template` 'ORIGINAL' | 'ENHANCED' | 'MULTIPAGE', required: Template type used for the Preference Center
    - `publishedDate` string, date-time: Date and time when the Preference Center was published
    - `status` 'DRAFT' | 'ACTIVE' | 'RETIRED' | 'INACTIVE', required: Current status of the Preference Center
    - `createdDate` string, date-time, required: Date and time when the Preference Center was created
  - `empty` boolean: The flag to check if the entity is empty or not.
  - `first` boolean: The flag to check if the entity is first entity or not.
  - `last` boolean: The flag to check if the entity is last entity or not.
  - `number` integer: The number associated with the result.
  - `numberOfElements` integer: Total number of elements in the result.
  - `pageable` ConsentPreferencesUniversalConsentPreferenceManagPageableObject
    - `offset` integer
    - `sort` ConsentPreferencesUniversalConsentPreferenceManagSortObject
      - `empty` boolean
      - `sorted` boolean
      - `unsorted` boolean
    - `pageNumber` integer
    - `pageSize` integer
    - `paged` boolean
    - `unpaged` boolean
  - `sort` ConsentPreferencesUniversalConsentPreferenceManagSortObject
    - `empty` boolean
    - `sorted` boolean
    - `unsorted` boolean
  - `totalPages` integer: Total number of pages in the result list.
  - `totalElements` integer: Total number of elements in the result.
  - `size` integer: Size of the result list.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `429`: Too Many Requests. For more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).
- `500`: Internal Server Error

---

[API](https://skmtc.dev/onetrust/apis/consent-preferences-universal-consent-preference-management.md) - [All operations](https://skmtc.dev/onetrust/apis/consent-preferences-universal-consent-preference-management/llms.txt) - [OpenAPI document](https://skmtc.dev/onetrust/apis/consent-preferences-universal-consent-preference-management/revisions/fe4a0697ec9d?raw)
