Get List of Purposes

Gets a paged list of Purposes. We strongly suggest using GET /v2/purposes instead, as this endpoint has been deprecated.

Query Params
int32
≥ 0
Defaults to 0

Results page you want to retrieve (0..N) - e.g. 3

int32
≥ 0
Defaults to 20

The number of elements to be returned in a page.
(Note: The maximum size value may differ by API and is subject to change. If a number greater than the maximum is requested, the API will return the maximum allowed value.)

sort
array of strings

Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

sort
Responses

Response body
object
content
array of objects
content
object
int64

The lifespan of the consent in seconds

CustomPreferences
array of objects

A list of the Purpose's Custom Preferences

CustomPreferences
object
CustomPreferenceOptions
array of objects

A list with the Custom Preferences' Options

CustomPreferenceOptions
object
boolean

Whether Purpose Preference Option is disabled or not

string

Unique identifier identifying a Purpose Preference Option

string

The Option label

string

Unique identifier of the Purpose and Custom Preference relation

string

The Custom Preference name

string

Description of the purpose of processing

string

Date field considered for Purpose lifespan/expiry

LAST_TRANSACTION_DATE CONSENT_DATE

uuid

Globally unique identifier of the Purpose

string

Name of the Purpose

Languages
array of objects

A list of the Purpose's Languages

Languages
object
boolean

Whether this language is the default one for the Purpose

string

The Purpose description

string

The Purpose content language code

string

The Purpose name

uuid

Parent purpose guid

string

Type of the Purpose

STANDARD COOKIE IAB MOBILE NOTIFICATION_OPT_OUT

date-time

Retirement Date of the Purpose

string

Status of the Purpose

DRAFT ACTIVE RETIRED

Topics
array of objects

A list of the Purpose's Topics

Topics
object
boolean

Whether this Topic can be deleted or not

uuid

The unique identifier of the Purpose and Topic relation

string

The Topic integration key (combination of Purpose and Topic names)

string

The Topic name

int64

Version of the Purpose

attributes
object

Custom Purpose Attributes configured in the Attribute Manager under Consent & Preference Management > Setup > Attribute Manager in the OneTrust application. If values are populated for the attribute they will be displayed in this field.

boolean
boolean
boolean
int32
int32
pageable
object
int64
≥ 0

The number of results to exclude from the start of the list.

int32
≥ 0

The page number of the results.

int32
0 to 1000
Defaults to 20

The number of results per page.

boolean

This flag indicates whether the results were paged.

sort
object
boolean

This flag indicates whether the results were not paged.

int32
sort
object
boolean

This flag indicates whether sort criteria was left undefined.

boolean

This flag indicates whether the results were sorted.

boolean

This flag indicates whether the results were not sorted.

int64
int32
401

Unauthorized

403

Forbidden

404

Not Found

Language
Credentials
OAuth2