Retrieve consent types
This method allows you to retrieve a specific consent or all consent types. Use the optional query parameter locale to only retrieve the collection of localized fields for a specific locale across all consent types. If none of the consents have a localized field collection for the specified locale, the HTTP status code of 404-Not Found is returned.
Header Parameters
Authorization token
Media type indicating that the content is in JSON format.
Query Parameters
Type Id. If specified, only the Type with this Id will be returned. Default value is 0.
A valid locale associated with the ConsentType. Ex: “en”, “en-us”, “en-uk”, “fr-ca”.
Option to limit the number of returned consent versions. True will return only the most recent version. False will return all versions of a consent. Default value is False.
Path Parameters
This is your organization’s MyPreferences Account Id. A 404 is returned if this value is invalid.
Response
Response Attributes
Array of consent types used in GET requests.