Skip to main content

Consent Template

A Consent Template is a reusable definition that specifies what users need to agree to when using your products or services.

Key concepts

TermDescription
Template CodeStable identifier used by the API and internal workflows to refer to one consent item.
ProductBusiness area that owns the consent requirement.
Template VersionThe versioned content that customers actually see and respond to.

Prerequisites

  • You can access Platform -> Consent Template.
  • A Product already exists for the template you want to create.

Required Permissions

Permission CodeAccess
consent_templates:viewView template lists and details
consent_templates:createCreate a template and its first version
consent_templates:deleteDelete templates and their versions

When to Use This

ScenarioWhat this helps with
You need a new consent item for a productCreate a reusable template and its first version
You want to review existing templatesCheck the template list and open details
You need to remove an unused templateDelete the template and all versions when it is no longer needed

Create a Template

When you create a template, you'll also create its first version simultaneously.

  1. Provide template information:

    • Template Code: A unique identifier
    • Product: Select which product this consent applies to
    • Name: A clear, descriptive title
    • Description: Explain what users are consenting to

    Consent Template

  2. Define the first version:

    • Content: The actual consent terms (HTML format)
    • Locale: Language (e.g., Thai, English)
    • Tag: Version identifier (e.g., 1.0.0)
    • Effective Date: When this version becomes active
    • Re-Consent: Whether users must re-consent when this version becomes active
    • File URL: Upload a file containing the consent content (optional)
    • Allow Share Data to Partners: Which third-party partners are included (optional)

    Consent Template Version

Fields and Rules

FieldRequiredDescription
Template CodeYesStable identifier used to reference the template in the system and APIs.
ProductYesProduct that owns the consent requirement.
NameYesBusiness-facing title shown in the portal.
DescriptionYesExplains what the consent is for.
ContentYesConsent content for the first version, stored as HTML.
LocaleYesLanguage for the consent content.
TagYesHuman-friendly version label such as 1.0.0.
Effective DateYesDate when the version becomes active.
Re-ConsentNoForces customers to act again when the version is checked.
File URLNoOptional hosted file reference for the consent content.
Allow Share Data to PartnersNoPartners included with this version.

View Templates

See all your consent templates with their associated products. You can filter by product, search by name or description, and paginate through results.

Consent Template List

View Template Details

Get full information about a specific template including its code, name, description, and associated product.

Consent Template Details

Delete a Template

Remove a template and all its versions. Use with caution as this cannot be undone.

Delete Consent Template

Important Behavior

  • Creating a template also creates its first template version in Draft.
  • Template lifecycle actions such as review and approval happen on the version, not on the template itself.
  • Deleting a template removes all associated versions, so only do this when the template is no longer needed.

This page covers the first step of the consent lifecycle:

  1. Create the template
  2. Add or update a version
  3. Review and approve the version
  4. Record customer decisions

Troubleshooting

ProblemLikely causeWhat to do
Cannot see Create Consent TemplateMissing consent_templates:create permissionAsk an administrator to update your role
Product dropdown is emptyNo product is available for the tenantCreate or enable the required product first
Not sure whether to edit a template or create a new versionThe business rule changed but the template itself still represents the same consent itemKeep the template and create a new version instead