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 parameters
In order to retrieve only the latest version of each Purpose this property should be set to true.
In order to include retired versions for each Purpose this property should be set to true.
Organization ID to filter purposes by.
In order to retrieve custom preferences for each version of Purposes this property should be set to true.
In order to retrieve topics for each version of Purposes this property should be set to true.
Filter purposes modified after this date (format: yyyy-MM-dd'T'HH:mm:ss).
Filter purposes modified before this date (format: yyyy-MM-dd'T'HH:mm:ss).
Results page you want to retrieve (0-based).
Number of records per page.
Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
Response
OK - Successfully retrieved purpose versions