Skip to main content
Server path: /onetrust-consent | Type: Application | PCID required: Yes

Tools

ToolDescription
onetrust_consent_add_data_subjects_to_consent_group_using_postAdd Data Subjects to Parent Consent Group
onetrust_consent_add_purpose_rules_to_consent_group_using_postAdd Purpose Rules to Consent Group
onetrust_consent_create_collection_point_using_postCreate Collection Point
onetrust_consent_create_consent_group_using_postCreate Consent Group
onetrust_consent_create_custom_preference_using_postCreate Purpose Preference
onetrust_consent_create_data_subject_group_v4Create Data Subject Group
onetrust_consent_create_new_purpose_version_using_postCreate New Purpose Version
onetrust_consent_create_or_update_data_subject_using_postUpdate Data Subject’s Data Elements
onetrust_consent_create_purpose_using_postCreate Purpose
onetrust_consent_edit_collection_point_using_putUpdate Existing Collection Point
onetrust_consent_edit_custom_preference_using_putUpdate Purpose Preference
onetrust_consent_edit_purpose_using_putUpdate Purpose
onetrust_consent_find_by_guid_using_getGet Purpose Preference
onetrust_consent_find_receipt_using_getGet Receipt
onetrust_consent_get_all_profiles_by_data_subject_v4Get List of All Purpose Details by Data Subject
onetrust_consent_get_collection_points_using_getGet List of Collection Points
onetrust_consent_get_data_subject_basic_details_v4Get Data Subject
onetrust_consent_get_data_subject_details_v4Get Data Subject Details
onetrust_consent_get_data_subject_groups_list_v4Get List of Data Subject Groups
onetrust_consent_get_data_subject_profile_v4Get Purpose Details by Data Subject
onetrust_consent_get_data_subjects_for_purposes_using_getGet List of Data Subjects by Purpose
onetrust_consent_get_data_subjects_v4Get List of Data Subjects
onetrust_consent_get_group_list_using_getGet List of Consent Groups
onetrust_consent_get_group_using_getGet Consent Group
onetrust_consent_get_grouped_purposes_v2Get List of Purpose Versions
onetrust_consent_get_linked_identity_group_members_v4Get List of Data Subject Group Members
onetrust_consent_get_list_using_getGet List of Purpose Preferences
onetrust_consent_get_preference_center_by_id_using_getGet Preference Center Schema
onetrust_consent_get_preference_center_page_schema_using_getGet Preference Center Page Schema
onetrust_consent_get_preference_centers_using_getGet List of Preference Centers
onetrust_consent_get_purpose_detail_using_getGet Purpose
onetrust_consent_get_receipt_list_details_using_postGet List of Receipts
onetrust_consent_get_receipt_list_using_getGet List of Receipts by Data Subject
onetrust_consent_get_root_schema_using_getGet Preference Center Root Schema
onetrust_consent_get_token_using_getGet Collection Point Token
onetrust_consent_get_transactions_using_postGet List of Transactions
onetrust_consent_publish_purpose_using_putPublish Purpose
onetrust_consent_search_data_subjects_post_using_postSearch Data Subjects
onetrust_consent_set_retirement_using_putRetire Purpose
onetrust_consent_update_data_subject_group_v4Update Data Subject Group
onetrust_consent_update_preferences_for_data_subject_api_using_putUpdate Data Subject’s Preferences in a Preference Center

onetrust_consent_add_data_subjects_to_consent_group_using_post

Add Data Subjects to Parent Consent Group Parameters:
ParameterTypeRequiredDefaultDescription
consentGroupGuidstringYesThe UUID of the Consent Group. consentGroupGuid can be retrieved using the Get a paged view for consent groups API
dataSubjectsany[]NoA list of Data Subjects to be added to a Consent Group, identified either by their id or their identifier value

onetrust_consent_add_purpose_rules_to_consent_group_using_post

Add Purpose Rules to Consent Group Parameters:
ParameterTypeRequiredDefaultDescription
consentGroupGuidstringYesThe UUID of the Consent Group. consentGroupGuid can be retrieved using the Get a paged view for consent groups API to add Purpose Rules
purposeRulesany[]NoA list of Purpose Rules to be added to a Consent Group

onetrust_consent_create_collection_point_using_post

Create Collection Point Parameters:
ParameterTypeRequiredDefaultDescription
AckEmailIdentifierstringNoThe email address to use when sending acknowledgment emails. This can be different from the main contact email for the Collection Point.
AllowMultipleIdentifierTypesbooleanNoAllow the Collection Point to generate data subjects with more than one identifier. Note: this feature is under preview for API and HOSTED_WEB_FORM Collection Points only
attributeValuesobjectNoA map of attribute names to their corresponding values and metadata. Used for storing custom attributes associated with the Collection Point.
CollectionPointTypestringYesThe type of the Collection Point. This determines the behavior and features available for the Collection Point. For example, WEB_FORM is used for web-based consent banners, while API is used for programmatic consent management.
consentDOICancelOptionbooleanNoWhen enabled, allows sending a cancellation notice for double opt-in (DOI) consent. This is used when a user cancels their consent during the double opt-in process.
ConsentIntegrationbooleanNoSetting to fire the Data Subject Consent Updated integrations event. Note: we recommend using the EnableNewConsentIntegration setting to fire the Data Subject Profile Updated event instead
ConsentTypestringNoThe type of consent mechanism used by this Collection Point. This determines how consent is captured and processed. For example, EXPLICIT requires explicit user action, while IMPLIED infers consent from user behavior.
CookieConsentUpdatestringNoSpecifies how cookie consent updates should be handled for this Collection Point. This determines the behavior when consent preferences change.
DataControllerNamestringNoThe name of the data controller responsible for this Collection Point. This is typically the organization or entity that determines the purposes and means of processing personal data.
DataElementsany[]NoList of data element IDs that this Collection Point will collect consent for. Each data element represents a specific type of data processing activity.
DescriptionstringYesDetailed description of the Collection Point. This should explain the purpose and functionality of the Collection Point.
DisableReportsbooleanNoWhen set to true, disables all reporting for this Collection Point. This can be used to improve performance for high-volume Collection Points where reporting is not needed.
DOIEmailIdentifierstringNoThe email address to use when sending double opt-in confirmation emails. If not specified, the primary email identifier will be used.
DoiEmailToParentbooleanNoWhen enabling the parental consent feature and double opt-in emails, emails will be sent to the parent identifier by default instead of the child identifier. This is part of the parental consent preview feature.
DOISendConfirmationEmailbooleanNoDouble Opt In child setting to send the confirmation email or not. Note: the confirmation link is included in the Data Subject Profile Updated integrations event, which can be used to send custom email or sms messages
DoubleOptInbooleanNoIndicates whether double opt-in is required for this Collection Point. When enabled, users must confirm their consent via email.
EnableCaptchabooleanNoWhen enabled, requires users to complete a CAPTCHA challenge before submitting the form. This helps prevent automated submissions and spam.
enableCustomPreferenceEventbooleanNoWhen enabled, generates an event for custom preference changes made through this Collection Point. Useful for triggering workflows or integrations.
enableDataElementEventbooleanNoWhen enabled, generates an event whenever a data element-related action occurs through this Collection Point. Useful for triggering workflows or integrations.
EnableGeolocationbooleanNoWhen enabled, captures the data subject’s geolocation (with their consent) for specific purposes. This feature is currently in preview.
EnableGeoLocationForDataElementsbooleanNoWhen enabled, captures the data subject’s geolocation (with their consent) for specific data elements. This feature is currently in preview.
EnableNewConsentIntegrationbooleanNoSetting to fire the Data Subject Profile Updated integrations event. For more information see this article
EnablePrefillIdentifierbooleanNoWhen enabled, allows the Collection Point to pre-fill identifier fields when possible, improving user experience for returning visitors.
EnablePrimaryIdentifierbooleanNoSetting to enable primary identifier functionality. When enabled, designates one of the identifiers as the primary identifier for the data subject.
EnablePublishEventbooleanNoSetting to fire the Collection Point Published integrations event. For more information see this article
enablePurposeEventbooleanNoWhen enabled, generates an event whenever a purpose-related action occurs through this Collection Point. Useful for triggering workflows or integrations.
HostedSDKbooleanNoWhether the SDK settings are published to external storage for quicker integration. This is enabled by default for all web form type collection points
HostedWebFormobjectNoHosted Web Form
HowToWithdrawstringNoInstructions on how a data subject can withdraw their consent. This should provide clear, actionable steps.
IABVendorIdintegerNoThe IAB Vendor Id. Used for legacy mobile Collection Points
IdentifierDataElementIdstringNoUnique identifier for the Data Element. Note: this can be found in the url path when viewing Data Element details under the Consent & Preference Management module
IdentifierTypesany[]NoUsed in conjunction with the AllowMultipleIdentifierTypes setting. The List of Data Subject identifiers that can be used for the Collection Point
includeIdentifierParameterbooleanNoWhen enabled, includes the identifier parameter in the double opt-in (DOI) confirmation link. This is useful for passing the identifier through the DOI process.
includeParameterbooleanNoWhen enabled, includes additional parameters in the double opt-in (DOI) confirmation link. This can be used to pass through custom parameters during the DOI process.
IsAuthenticationRequiredbooleanNoSetting to require authentication for a collection point. For more information see this article
IsDynamicCollectionPointbooleanNoWhether this is a dynamic collection point or not. For more information see this article
LanguagestringNoThe Collection Point default language code
Languagesany[]NoList containing the Collection Point translations’ language codes
NamestringYesThe unique name of the Collection Point. This is a required field and must be unique within the organization. The name is used to identify the Collection Point in the UI and API.
NewSdkIntegrationEnabledbooleanNoWhether new sdk integration is enabled or not. SDK can be loaded in the <head> and a new script is no longer required for each form
NoConsentTransactionsbooleanNoWhether no consent transactions can be recorded against the collection point. For more information about consent transaction types and purpose statuses see this article
OrganizationIdstringYesThe unique identifier of the Organization associated with the Collection Point. Note: this can be found in the URL path when viewing Organization details under global settings.
OtherInformationstringNoAny additional information relevant to the Collection Point that doesn’t fit in other fields. This could include legal basis for processing or other compliance-related information.
OverrideActivePurposebooleanNoUsed in conjunction with the double opt in reconfirmation and purpose expiration features. This setting is enabled by default and can be turned off if it is desired for a purpose to remain in active status until expired if a data subject does not reconfirm their consent
ParentIdentifierTypesany[]NoList of parent data subject identifier types for this Collection Point. Used with Consent on Behalf and Multiple Data Subject Identifiers features.
PreferenceCenterGuidstringNoUnique identifier for a Preference Center to associate with this Collection Point
PrefillIdentifierstringNoThe identifier value to pre-fill in the form when known. This improves user experience by reducing data entry for returning visitors.
PrimaryIdentifierTypestringNoThe primary identifier type used to identify data subjects for this Collection Point. This is used when multiple identifier types are configured.
PrivacyPolicyUrlstringNoThe URL of the privacy policy associated with this Collection Point. This is typically displayed to users when they are providing consent.
PurposeIdstringNoComma-separated list of Purpose unique identifiers. Will default to the most recent purpose version. It is recommended to use the PurposeIdsWithVersion field and specify the desired version.
PurposeIdsany[]NoList of Purpose unique identifiers. Will default to the most recent purpose version. It is recommended to use the PurposeIdsWithVersion field and specify the desired version.
PurposeIdsWithVersionany[]NoA list containing the IDs of purposes along with their versions that this Collection Point is associated with. Each entry maps a purpose ID to a specific version.
ReconfirmActivePurposebooleanNoUsed in conjunction with the double opt in feature. Will treat a returning data subject the same as a new one, and trigger the confirmation email event when re-consenting to the same purpose
RedirectOnFormSubmissionbooleanNoWhen enabled, automatically redirects users to a specified URL after they submit the form. The redirect URL can be configured separately.
RedirectUrlstringNoThe URL to redirect users to after they have completed the consent process. This is typically a thank you page or the main website.
ResponsibleGroupIdstringNoThe Unique Identifier of the Responsible Group. Note: this can be found in the url path when viewing Responsible Group details under global settings
ResponsibleUserIdstringNoThe Unique Identifier of the Responsible User. Note: this can be found in the url path when viewing Responsible User details under global settings
RightToWithdrawstringNoInformation about the data subject’s right to withdraw consent. This is typically displayed to users to inform them of their rights.
SendConsentEmailbooleanNoSwitch on or off the Consent Acknowledgement Email feature for a Collection Point
SubjectIdentifierstringNoThe Data Subject identifier of the Collection Point. Note: this string is the Data Element name when viewing details under the Consent & Preference Management module
WebFormUrlstringNoThe URL where the web form is hosted. This is required for HOSTED_WEB_FORM collection points. The URL must be a valid HTTPS URL.

onetrust_consent_create_consent_group_using_post

Create Consent Group Parameters:
ParameterTypeRequiredDefaultDescription
descriptionstringNoA description of the Consent Group
externalNamestringNoThe Consent Group’s external name. If not provided, this will be generated based on the name
namestringNoThe Consent Group name

onetrust_consent_create_custom_preference_using_post

Create Purpose Preference Parameters:
ParameterTypeRequiredDefaultDescription
bodyobjectYesRequest body

Create Data Subject Group Parameters:
ParameterTypeRequiredDefaultDescription
groupNamestringYesA user-defined name for the group of linked identities.
memberIdentifiersany[]YesA list of all member identifiers that belong to the group.
primaryIdentifiersany[]YesA List of all identifiers that are primary identifiers. The members in this list need not be present in member identifiers list as they are mutually exclusive.

onetrust_consent_create_new_purpose_version_using_post

Create New Purpose Version Parameters:
ParameterTypeRequiredDefaultDescription
purposeGuidstringYesUnique identifier of the Purpose.

onetrust_consent_create_or_update_data_subject_using_post

Update Data Subject’s Data Elements Parameters:
ParameterTypeRequiredDefaultDescription
dataElementsany[]NoList containing the Data Subject’s Data Elements
identifierTypestringNoThe type of identifier used for the Data Subject
languagestringNoThe preferred language code for the Data Subject

onetrust_consent_create_purpose_using_post

Create Purpose Parameters:
ParameterTypeRequiredDefaultDescription
isInternalOrgbooleanNoSpecifies if the Purpose is for internal organization use
attributeValuesobjectNoMap of attribute values associated with the purpose
ConsentLifeSpanintegerYesThe lifespan of consents recorded against this purpose in seconds
CustomPreferenceIdsany[]NoList of custom preference IDs associated with the purpose
DefaultLanguagestringNoThe default language for the Purpose in BCP 47 format
DescriptionstringYesDetailed description of the Purpose’s intended use
EnableGeolocationbooleanNoFlag to enable geolocation tracking for this purpose
HardOptOutDisplayFormatstringNoThe format in which the purpose displays in a Trust Center when the consent status is Hard opt-out. Hard opt-out purposes can either be displayed but locked, or hidden.
HardOptOutMessagestringNoThe message to display with the purpose when the consent status is Hard opt-out. This message only displays when hardOptOutDisplayFormat is set to LOCK.
ImplicitConsentConfirmDescstringNoDescription shown when confirming implicit consent
ImplicitConsentLifeSpanintegerNoLifespan for implicit consents in seconds
IsMajorVersionbooleanNoIndicates if this is a major version update
LastMajorVersionintegerNoVersion number of the last major update
NamestringYesName of the Purpose
Organizationsany[]NoA list of External Organization Ids.
ParentPurposeIdstringNoUnique identifier of the parent purpose
PurposeCategoryobjectNoPurpose Category
TypestringNoType of the Purpose
VersionNotesstringNoRelease notes for the current version

Update Existing Collection Point Parameters:
ParameterTypeRequiredDefaultDescription
collectionpointIdstringYesThe unique identifier of the Collection Point to update.
versionintegerNoThe version of the Collection Point to update. If not provided, version 1 will be used.
AckEmailIdentifierstringNoThe email address to use when sending acknowledgment emails. This can be different from the main contact email for the Collection Point.
AllowMultipleIdentifierTypesbooleanNoAllow the Collection Point to generate data subjects with more than one identifier. Note: this feature is under preview for API and HOSTED_WEB_FORM Collection Points only
attributeValuesobjectNoA map of attribute values associated with this Collection Point. This field allows for custom attributes to be attached to the Collection Point for additional metadata or integration purposes. The key represents the attribute name, and the value is a list of attribute value information objects.
CollectionPointTypestringYesThe type of the Collection Point. This determines the behavior and features available for the Collection Point. For example, WEB_FORM is used for web-based consent banners, while API is used for programmatic consent management.
consentDOICancelOptionbooleanNoWhen enabled, allows sending a cancellation notice for double opt-in (DOI) consent. This is used when a user cancels their consent during the double opt-in process.
ConsentIntegrationbooleanNoSetting to fire the Data Subject Consent Updated integrations event. Note: we recommend using the EnableNewConsentIntegration setting to fire the Data Subject Profile Updated event instead
ConsentTypestringNoThe type of consent mechanism used by this Collection Point. This determines how consent is captured and processed. For example, EXPLICIT requires explicit user action, while IMPLIED infers consent from user behavior.
CookieConsentUpdatestringNoSpecifies how cookie consent updates should be handled for this Collection Point. This determines the behavior when consent preferences change.
DataControllerNamestringNoThe name of the data controller responsible for this Collection Point. This is typically the organization or entity that determines the purposes and means of processing personal data.
DataElementsany[]NoList of data element IDs that this Collection Point will collect consent for. Each data element represents a specific type of data processing activity.
DescriptionstringYesDetailed description of the Collection Point. This should explain the purpose and functionality of the Collection Point.
DisableReportsbooleanNoWhen set to true, disables all reporting for this Collection Point. This can be used to improve performance for high-volume Collection Points where reporting is not needed.
DOIEmailIdentifierstringNoThe email address to use when sending double opt-in confirmation emails. If not specified, the primary email identifier will be used.
DoiEmailToParentbooleanNoWhen enabling the parental consent feature and double opt-in emails, emails will be sent to the parent identifier by default instead of the child identifier. This is part of the parental consent preview feature.
DOISendConfirmationEmailbooleanNoDouble Opt In child setting to send the confirmation email or not. Note: the confirmation link is included in the Data Subject Profile Updated integrations event, which can be used to send custom email or sms messages
doNotActivateWebformbooleanYesWhen set to true, prevents the embedded webform from being automatically activated. This is useful when you want to configure the webform but activate it at a later time. The webform will remain in a draft state until explicitly activated.
DoubleOptInbooleanNoIndicates whether double opt-in is required for this Collection Point. When enabled, users must confirm their consent via email.
doubleOptInExcludedPurposesany[]NoList of purposes that should be excluded from the Double Opt-In (DOI) requirement. When a purpose is in this list, users will not be required to confirm their consent via email for that specific purpose, even if DOI is enabled for the Collection Point.
EnableCaptchabooleanNoWhen enabled, requires users to complete a CAPTCHA challenge before submitting the form. This helps prevent automated submissions and spam.
enableCustomPreferenceEventbooleanNoWhen enabled, generates an event for custom preference changes made through this Collection Point. Useful for triggering workflows or integrations.
enableDataElementEventbooleanNoWhen enabled, generates an event whenever a data element-related action occurs through this Collection Point. Useful for triggering workflows or integrations.
EnableGeolocationbooleanNoWhen enabled, captures the data subject’s geolocation (with their consent) for specific purposes. This feature is currently in preview.
EnableGeoLocationForDataElementsbooleanNoWhen enabled, captures the data subject’s geolocation (with their consent) for specific data elements. This feature is currently in preview.
EnableNewConsentIntegrationbooleanNoSetting to fire the Data Subject Profile Updated integrations event. For more information see this article
EnablePrefillIdentifierbooleanNoWhen enabled, allows the Collection Point to pre-fill identifier fields when possible, improving user experience for returning visitors.
EnablePrimaryIdentifierbooleanNoSetting to enable primary identifier functionality. When enabled, designates one of the identifiers as the primary identifier for the data subject.
EnablePublishEventbooleanNoSetting to fire the Collection Point Published integrations event. For more information see this article
enablePurposeEventbooleanNoWhen enabled, generates an event whenever a purpose-related action occurs through this Collection Point. Useful for triggering workflows or integrations.
HostedSDKbooleanNoWhether the SDK settings are published to external storage for quicker integration. This is enabled by default for all web form type collection points
HostedWebFormobjectNoHosted Web Form
HostedWebformPublishbooleanNoFlag indicating whether to publish the hosted webform for this Collection Point. When set to true, the webform will be published and made available at the configured URL. When set to false, the webform will be unpublished but the configuration will be saved. Note: This field is only applicable for Collection Points with collectionPointType set to HOSTED_WEB_FORM.
HowToWithdrawstringNoInstructions on how a data subject can withdraw their consent. This should provide clear, actionable steps.
IABVendorIdintegerNoThe IAB Vendor Id. Used for legacy mobile Collection Points
IdentifierDataElementIdstringNoUnique identifier for the Data Element. Note: this can be found in the url path when viewing Data Element details under the Consent & Preference Management module
IdentifierTypesany[]NoUsed in conjunction with the AllowMultipleIdentifierTypes setting. The List of Data Subject identifiers that can be used for the Collection Point
includeIdentifierParameterbooleanNoWhen enabled, includes the identifier parameter in the double opt-in (DOI) confirmation link. This is useful for passing the identifier through the DOI process.
includeParameterbooleanNoWhen enabled, includes additional parameters in the double opt-in (DOI) confirmation link. This can be used to pass through custom parameters during the DOI process.
IsAuthenticationRequiredbooleanNoSetting to require authentication for a collection point. For more information see this article
IsDynamicCollectionPointbooleanNoWhether this is a dynamic collection point or not. For more information see this article
LanguagestringNoThe Collection Point default language code
Languagesany[]NoList containing the Collection Point translations’ language codes
LastSdkIntegrationDatestringNoThe timestamp when the SDK integration was last synchronized with this Collection Point. This field is automatically updated by the system when changes are made to the Collection Point that require SDK updates. It should not be set manually.
NamestringYesThe unique name of the Collection Point. This is a required field and must be unique within the organization. The name is used to identify the Collection Point in the UI and API.
NewSdkIntegrationEnabledbooleanNoWhether new sdk integration is enabled or not. SDK can be loaded in the <head> and a new script is no longer required for each form
NoConsentTransactionsbooleanNoWhether no consent transactions can be recorded against the collection point. For more information about consent transaction types and purpose statuses see this article
Noticesany[]NoThe set of notices associated with this Collection Point. Notices define the privacy notices and consent requests that will be displayed to users. Each notice can be configured with different purposes, data categories, and consent requirements.
OrganizationIdstringYesThe unique identifier of the Organization associated with the Collection Point. Note: this can be found in the URL path when viewing Organization details under global settings.
OtherInformationstringNoAny additional information relevant to the Collection Point that doesn’t fit in other fields. This could include legal basis for processing or other compliance-related information.
OverrideActivePurposebooleanNoUsed in conjunction with the double opt in reconfirmation and purpose expiration features. This setting is enabled by default and can be turned off if it is desired for a purpose to remain in active status until expired if a data subject does not reconfirm their consent
ParentIdentifierTypesany[]NoList of parent data subject identifier types for this Collection Point. Used with Consent on Behalf and Multiple Data Subject Identifiers features.
PortalSettingsobjectNoA key-value map containing all Portal settings for this Collection Point. These settings control the appearance and behavior of the Privacy Portal associated with this Collection Point. The structure of this object depends on the specific configuration of the Portal.
PreferenceCenterGuidstringNoUnique identifier for a Preference Center to associate with this Collection Point
PreferenceCenterSettingsobjectNoA key-value map containing all Preference Center settings for this Collection Point. These settings control the appearance and behavior of the Preference Center associated with this Collection Point. The structure of this object depends on the specific configuration of the Preference Center.
PrefillIdentifierstringNoThe identifier value to pre-fill in the form when known. This improves user experience by reducing data entry for returning visitors.
PrimaryIdentifierTypestringNoThe primary identifier type used to identify data subjects for this Collection Point. This is used when multiple identifier types are configured.
PrivacyPolicyUrlstringNoThe URL of the privacy policy associated with this Collection Point. This is typically displayed to users when they are providing consent.
PurposeIdstringNoComma-separated list of Purpose unique identifiers. Will default to the most recent purpose version. It is recommended to use the PurposeIdsWithVersion field and specify the desired version.
PurposeIdsany[]NoList of Purpose unique identifiers. Will default to the most recent purpose version. It is recommended to use the PurposeIdsWithVersion field and specify the desired version.
PurposeIdsWithVersionany[]NoA list containing the IDs of purposes along with their versions that this Collection Point is associated with. Each entry maps a purpose ID to a specific version.
ReconfirmActivePurposebooleanNoUsed in conjunction with the double opt in feature. Will treat a returning data subject the same as a new one, and trigger the confirmation email event when re-consenting to the same purpose
RedirectOnFormSubmissionbooleanNoWhen enabled, automatically redirects users to a specified URL after they submit the form. The redirect URL can be configured separately.
RedirectUrlstringNoThe URL to redirect users to after they have completed the consent process. This is typically a thank you page or the main website.
ResponsibleGroupIdstringNoThe Unique Identifier of the Responsible Group. Note: this can be found in the url path when viewing Responsible Group details under global settings
ResponsibleUserIdstringNoThe Unique Identifier of the Responsible User. Note: this can be found in the url path when viewing Responsible User details under global settings
RightToWithdrawstringNoInformation about the data subject’s right to withdraw consent. This is typically displayed to users to inform them of their rights.
SendConsentEmailbooleanNoSwitch on or off the Consent Acknowledgement Email feature for a Collection Point
StatusstringYesThe current status of the Collection Point. This field determines whether the Collection Point is active, inactive, or in another state. Only active Collection Points will be served to end users.
SubjectIdentifierstringNoThe Data Subject identifier of the Collection Point. Note: this string is the Data Element name when viewing details under the Consent & Preference Management module
WebFormUrlstringNoThe URL where the web form is hosted. This is required for HOSTED_WEB_FORM collection points. The URL must be a valid HTTPS URL.

Update Purpose Preference Parameters:
ParameterTypeRequiredDefaultDescription
customPreferenceIdstringYesThe unique identifier of the Purpose Preference to update.
CreatedDatestringNoTimestamp when the Custom Preference was created
DefaultLanguagestringNoThe default language code for this Custom Preference (BCP 47 format)
DescriptionstringNoDetailed description explaining the purpose and usage of this Custom Preference
DisabledbooleanNoIndicates if this Custom Preference is currently disabled
DisplayAsstringYesSpecifies how the preference options should be displayed in the UI
IdstringYesUnique identifier for the Custom Preference
Languagesany[]NoList of language configurations for this Custom Preference
NamestringYesThe display name of the Custom Preference
NumberOfLanguagesintegerNoNumber of languages this Custom Preference has been translated into
NumberOfOptionsintegerNoTotal number of available options for this Custom Preference
Optionsany[]NoList of available options for this Custom Preference
Organizationsany[]NoList of Organization IDs that have access to this Custom Preference
RequiredbooleanNoIndicates whether a response is mandatory for this Custom Preference
SelectionTypestringYesDefines how options can be selected in this Custom Preference
TotalLinkedActivePurposesintegerNoCount of active purposes that reference this Custom Preference
UpdatedDatestringNoTimestamp when the Custom Preference was last updated

Update Purpose Parameters:
ParameterTypeRequiredDefaultDescription
purposeIdstringYesThe unique identifier of the Purpose to be edited
isInternalOrgbooleanNoSpecifies if the Purpose is for internal organization use
attributeValuesobjectNoMap of attribute values associated with the purpose
ConsentLifeSpanintegerYesThe lifespan of consents recorded against this purpose in seconds
CustomPreferenceIdsany[]NoList of custom preference IDs associated with the purpose
DefaultLanguagestringNoThe default language for the Purpose in BCP 47 format
DescriptionstringYesDetailed description of the Purpose’s intended use
EnableGeolocationbooleanNoFlag to enable geolocation tracking for this purpose
ExpiryDateTypestringNoDate field considered for Purpose lifespan/expiry
HardOptOutDisplayFormatstringNoThe format in which the purpose displays in a Trust Center when the consent status is Hard opt-out. Hard opt-out purposes can either be displayed but locked, or hidden.
HardOptOutMessagestringNoThe message to display with the purpose when the consent status is Hard opt-out. This message only displays when hardOptOutDisplayFormat is set to LOCK.
ImplicitConsentConfirmDescstringNoDescription shown when confirming implicit consent
ImplicitConsentLifeSpanintegerNoLifespan for implicit consents in seconds
IsMajorVersionbooleanNoIndicates if this is a major version update
Languagesany[]NoList of language-specific details for the Purpose
LastMajorVersionintegerNoVersion number of the last major update
NamestringYesName of the Purpose
Organizationsany[]NoA list of External Organization Ids.
ParentPurposeIdstringNoUnique identifier of the parent purpose
PurposeCategoryobjectNoPurpose Category
StatusstringYesThe current status of the Purpose
TopicIdsany[]NoList of unique identifiers for Topics associated with this Purpose
TypestringNoType of the Purpose
VersionintegerYesVersion number of the Purpose being updated
VersionNotesstringNoRelease notes for the current version

Get Purpose Preference Parameters:
ParameterTypeRequiredDefaultDescription
custompreferenceIdstringYesThe UUID of the Custom Preference to be retrieved
includeTranslationsbooleanNoParameter to include all of the Custom Preference’s translations (by default is set to false)

Get Receipt Parameters:
ParameterTypeRequiredDefaultDescription
idstringYesThe unique identifier of the receipt.
includeNotgivenbooleanNoIf true, the response will include Non Given transactions.
includeConsentStringsbooleanNoIf true, the response will include consent strings.

Get List of All Purpose Details by Data Subject Parameters:
ParameterTypeRequiredDefaultDescription
pageintegerNoThe page number of the results.
sizeintegerNoThe number of results per page.
sortstringNoThe sort criteria that dictates the order of the results.

Get List of Collection Points Parameters:
ParameterTypeRequiredDefaultDescription
dataElementGuidstringNoThe unique identifier of the Data Element.
organizationIdstringNoThe unique identifier of an organization. This value can be obtained using the Retrieve Organization Structure API.
pageintegerNoThe page number of the results to retrieve (0-based index).
sizeintegerNoThe number of records per page to return.
sortstringNoSorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
namestringNoFilter collection points by name (case-insensitive contains match).
purposeGuidstringNoFilter collection points by the unique identifier of an associated purpose.
collectionPointTypestringNoFilter collection points by type.
consentTypestringNoFilter collection points by the type of consent they capture.
statusstringNoFilter collection points by their current status.

Get Data Subject Parameters:
ParameterTypeRequiredDefaultDescription
isDNCIncludebooleanNoIndicates whether to include data subject in the response if the data subject is in the DNC list.

Get Data Subject Details Parameters:
ParameterTypeRequiredDefaultDescription
includeConsentGroupsbooleanNoThis flag indicates whether data subject group information is included in the response.
includeAttachmentsbooleanNoThis flag indicates whether attachment information is included in the response.
includeNoticesbooleanNoThis flag indicates whether collection point notice information is included in the response.
includeConsentStringsbooleanNoThis flag indicates whether consent string information is included in the response.
isDNCIncludebooleanNoIndicates whether to include data subject in the response if the data subject is in the DNC list.

Get List of Data Subject Groups Parameters:
ParameterTypeRequiredDefaultDescription
pageintegerNoThe page number of the results.
sizeintegerNoThe number of results per page.
sortstringNoThe sort criteria that dictates the order of the results.

Get Purpose Details by Data Subject Parameters:
ParameterTypeRequiredDefaultDescription
purposeGuidstringYesThe unique identifier of the purpose.

Get List of Data Subjects by Purpose Parameters:
ParameterTypeRequiredDefaultDescription
purposeIdstringYesUnique identifier of the Purpose for which to retrieve data subjects
lastTransactionDatestringNoFilter data subjects by last transaction date (ISO 8601 format: yyyy-MM-dd’T’HH:mm:ss)
transactionStatusstringNoFilter data subjects by transaction status
includeCustomPreferencesbooleanNoInclude custom preference options in the response

Get List of Data Subjects Parameters:
ParameterTypeRequiredDefaultDescription
fromDatestringYesThe start of a date and time range used to filter results.
toDatestringYesThe end of a date and time range used to filter results.
isDNCIncludebooleanNoIndicates whether to include data subject in the response if the data subject is in the DNC list.
pageintegerNoThe page number of the results.
sizeintegerNoThe number of results per page.
sortstringNoThe sort criteria that dictates the order of the results.

Get List of Consent Groups Parameters:
ParameterTypeRequiredDefaultDescription
namestringNoName of the Consent Group

Get Consent Group Parameters:
ParameterTypeRequiredDefaultDescription
consentGroupGuidstringYesThe UUID of the Consent Group. consentGroupGuid can be retrieved using the Get a paged view for consent groups API

Get List of Purpose Versions Parameters:
ParameterTypeRequiredDefaultDescription
latestVersionbooleanNoIn order to retrieve only the latest version of each Purpose this property should be set to true.
includeRetiredbooleanNoIn order to include retired versions for each Purpose this property should be set to true.
organizationstringNoOrganization ID to filter purposes by.
includeCustomPreferencesbooleanNoIn order to retrieve custom preferences for each version of Purposes this property should be set to true.
includeTopicsbooleanNoIn order to retrieve topics for each version of Purposes this property should be set to true.
fromLastModifiedDatestringNoFilter purposes modified after this date (format: yyyy-MM-dd’T’HH:mm:ss).
toLastModifiedDatestringNoFilter purposes modified before this date (format: yyyy-MM-dd’T’HH:mm:ss).
pageintegerNoResults page you want to retrieve (0-based).
sizeintegerNoNumber of records per page.
sortstringNoSorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

Get List of Data Subject Group Members Parameters:
ParameterTypeRequiredDefaultDescription
dataSubjectGroupIdstringYesThe unique identifier for a Data Subject Group.
pageintegerNoThe page number of the results.
sizeintegerNoThe number of results per page.
sortstringNoThe sort criteria that dictates the order of the results.

Get List of Purpose Preferences Parameters:
ParameterTypeRequiredDefaultDescription
pageintegerNoThe page number of the results (0-based).
sizeintegerNoThe number of results per page.
sortstringNoSorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

Get Preference Center Schema Parameters:
ParameterTypeRequiredDefaultDescription
prefcenterIdstringYesPreference Center UUID
statestringNoDraft or published preference center

Get Preference Center Page Schema Parameters:
ParameterTypeRequiredDefaultDescription
preferencecenterpageidstringYesUnique identifier of the Preference Center Page.
statestringNoThe state of the Preference Center.

Get List of Preference Centers Parameters:
ParameterTypeRequiredDefaultDescription
pageintegerNoResults page you want to retrieve (0-based).
sizeintegerNoNumber of records per page.
sortstringNoSorting criteria in the format: property,(asc|desc). Default sort order is descending by ID. Multiple sort criteria are supported.
dataElementGuidstringNoFilter preference centers by data element GUID.

Get Purpose Parameters:
ParameterTypeRequiredDefaultDescription
purposeIdstringYesUnique identifier of the Purpose
statusstringNoThe status of the Purpose to be retrieved (ACTIVE or DRAFT). By default, ACTIVE is returned.
versionintegerNoVersion number of the Purpose to be retrieved

onetrust_consent_get_receipt_list_details_using_post

Get List of Receipts Parameters:
ParameterTypeRequiredDefaultDescription
collectionPointGuidstringNoUUID of the Collection Point.
receiptIdstringNoUUID of the receipt.
purposeGuidstringNoUUID of the Purpose. purposeGuid can be obtained using the Get A Paged List Of Purposes endpoint.
organizationIdstringNoUUID of the Organization. organizationId can be obtained using the Retrieve Organization Structure endpoint.
fromDatestringNoDate from which to return records. Formats accepted are yyyy-MM-dd or yyyy-MM-ddTHH:mm:ss.
toDatestringNoTo date to return records. Formats accepted are yyyy-MM-dd or yyyy-MM-ddTHH:mm:ss.
includeDataElementsbooleanNoWhen set to true will include data subject data elements on the receipt payload.
includeArchivedbooleanNoThis parameter will fetch up to 1000 historical receipts per API call that are not yet stored in the Azure Cosmos DB or those that have reached their time-to-live (TTL) expiration of 90 days.
isAnonymousbooleanNoThe isAnonymous parameter will be ignored. Anonymous receipts can only be returned by using the identifier or receiptId parameter.
includeConsentStringsbooleanNoThis parameter will return consent strings stored in receipts. Note that it must be used in conjunction with an identifier or receiptId filter.
pageintegerNoResults page to be retrieved (0..N).
sizeintegerNoNumber of records per page (1..50).
sortstringNoSorting criteria in the format: property,direction (where direction is asc or desc). Supported properties: consentCreationDate, interactionDate, id.
nextMarkerstringNoRequest continuation token used to paginate over historical receipts
requestContinuationstringNoRequest continuation token used to paginate. If the number of records in the response is more than a page, it returns a requestContinuation token in the response. This requestContinuation token should be passed to the next request’s body to paginate.

Get List of Receipts by Data Subject
Get Preference Center Root Schema Parameters:
ParameterTypeRequiredDefaultDescription
preferencecenteridstringYesUnique identifier of the Preference Center.
statestringNoThe state of the Preference Center.

Get Collection Point Token Parameters:
ParameterTypeRequiredDefaultDescription
collectionpointGuidstringYesThe unique identifier of the Collection Point
versionintegerNoThe specific version of the Collection Point to get the token for. If not provided, the most recent version will be used.
statestringNoFilter by the state of the Collection Point

onetrust_consent_get_transactions_using_post

Get List of Transactions Parameters:
ParameterTypeRequiredDefaultDescription
fromDatestringNoRetrieve transactions recorded after the specified date. Formats accepted: YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS
toDatestringNoRetrieve transactions recorded up to the specified date. Formats accepted: YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS
collectionPointGuidstringNoUUID of the Collection Point
pageintegerNoResults page to be retrieved (0..N).
sizeintegerNoNumber of records per page (1..50).
sortstringNoSorting criteria in the format: property,direction (where direction is asc or desc). Supported properties: consentCreationDate.
nextMarkerstringNoRequest continuation token used to paginate over historical receipts
requestContinuationstringNoRequest continuation token used to paginate. If the number of records in the response is more than a page, it returns a requestContinuation token in the response. This requestContinuation token should be passed to the next request’s body to paginate.

Publish Purpose Parameters:
ParameterTypeRequiredDefaultDescription
purposeIdstringYesUnique identifier of the Purpose.
versionintegerYesThe Purpose’s version.

onetrust_consent_search_data_subjects_post_using_post

Search Data Subjects Parameters:
ParameterTypeRequiredDefaultDescription
pageintegerNoPage number (0-based).
sizeintegerNoNumber of records per page (1-2000).
isDNCIncludebooleanNoInclude Do Not Call list information (true/false).
dataElementsany[]NoFilter Data Subject records by data elements with specific names and values
idstringNoFilter Data Subject records by GUID
identifierstringNoFilter Data Subject records by identifier (e.g., email, phone number)
ignoreDefaultSortbooleanNoWhen true, overrides the default sorting by last modified date
includeCountsbooleanNoWhen false, the response will not include the total record count (improves performance for large result sets)
includeDataSubjectsWithOutPurposeTransactionsbooleanNoWhen true, includes Data Subjects that don’t have any purpose transactions
languagestringNoFilter Data Subject records by preferred language code
linkedDSbooleanNoWhen true, includes additional linked Data Subject information in the response
linkTokensbooleanNoWhen true, includes link tokens in the response for magic link functionality
orgIdsany[]NoFilter Data Subject records by organization IDs (internal use only)
updatedSincestringNoFilter Data Subject records updated on or after this date (format: yyyy-MM-dd or yyyy-MM-ddTHH:mm:ss)
updatedUntilstringNoFilter Data Subject records updated on or before this date (format: yyyy-MM-dd or yyyy-MM-ddTHH:mm:ss)

Retire Purpose Parameters:
ParameterTypeRequiredDefaultDescription
purposeIdstringYesUnique identifier of the Purpose.
datestringNoDate when a Purpose will expire (YYYY-MM-DD).

Update Data Subject Group Parameters:
ParameterTypeRequiredDefaultDescription
dataSubjectGroupIdstringYesThe unique identifier for the Data Subject Group to be updated.
groupNamestringYesA user-defined name for the group of linked identities.
memberIdentifiersany[]YesA list of all member identifiers that belong to the group.
primaryIdentifiersany[]YesA List of all identifiers that are primary identifiers. The members in this list need not be present in member identifiers list as they are mutually exclusive.

Update Data Subject’s Preferences in a Preference Center Parameters:
ParameterTypeRequiredDefaultDescription
prefcenterIdstringYesPreference Center UUID.
identifierstringNoData Subject Identifier (prefer the header parameter).
dsDataElementsobjectNoDs Data Elements
DsDataElementsobjectNoMap of Data Subject Elements and their values. Maximum supported characters for a data element value is 750.
LanguagestringNoThe preferred language of the Data Subject in BCP 47 format
Purposesany[]YesList of Data Subject Purposes with their consent status