Get List of Purpose Versions

Use this API to retrieve a list of Purpose versions. The response will include details for each Purpose version along with the corresponding Purpose ID, created date, and published date.

🗒

Things to Know

  • This API returns Purpose descriptions inside <p> and </p> HTML tags. These can be sanitized depending on your formatting needs.
Query Params
boolean
Defaults to false

In order to retrieve only the latest version of each Purpose this property should be set to true.

boolean
Defaults to false

In order to include retired versions for each Purpose this property should be set to true.

uuid

Organization ID to filter purposes by.

boolean
Defaults to false

In order to retrieve custom preferences for each version of Purposes this property should be set to true.

boolean
Defaults to false

In order to retrieve topics for each version of Purposes this property should be set to true.

date-time

Filter purposes modified after this date (format: yyyy-MM-dd'T'HH:mm:ss).

date-time

Filter purposes modified before this date (format: yyyy-MM-dd'T'HH:mm:ss).

integer
≥ 0
Defaults to 0

Results page you want to retrieve (0-based).

integer
1 to 100
Defaults to 20

Number of records per page.

string
enum

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

Responses

400

Bad Request

401

Unauthorized

403

Forbidden

500

Internal Server Error

Language
Credentials
OAuth2
Missing 2 required scopes
URL
LoadingLoading…
Response
Choose an example:
application/json
*/*