From 8d4efe1b2064e29257c2acb79d28323e1f61e950 Mon Sep 17 00:00:00 2001 From: Rani Gangwar Date: Wed, 25 Mar 2026 09:53:16 +0530 Subject: [PATCH 1/4] edited temp prop for customize emails --- modules/ROOT/pages/api-changelog.adoc | 10 ++- modules/ROOT/pages/customize-email-apis.adoc | 74 ++++++++++---------- 2 files changed, 46 insertions(+), 38 deletions(-) diff --git a/modules/ROOT/pages/api-changelog.adoc b/modules/ROOT/pages/api-changelog.adoc index 0d516673a..edd3e777f 100644 --- a/modules/ROOT/pages/api-changelog.adoc +++ b/modules/ROOT/pages/api-changelog.adoc @@ -12,9 +12,15 @@ This changelog lists only the changes introduced in the Visual Embed SDK. For in [width="100%" cols="1,4"] |==== -|[tag greenBackground]#NEW FEATURE# | `hide_logo_url` + +|[tag greenBackground]#NEW FEATURE# | *Email customization enhancements* + -Set this to `true` to entirely hide the logo component in ThoughtSpot notification emails. For more information, refer to the xref:customize-email-apis.adoc[Customize email template documentation]. +The following new attributes have been added to the `template_properties` for customizing ThoughtSpot notification emails: + +* The `contact_support_url` to set a custom URL for the contact support url in the footer. +* The `hide_contact_support_url` to toggle the visibility of contact support url in the footer. +* Set the `hide_logo_url` to `true` to entirely hide the logo component. + +For more information, refer to the xref:customize-email-apis.adoc[Customize email template documentation]. |==== == Version 1.46.x, March 2026 diff --git a/modules/ROOT/pages/customize-email-apis.adoc b/modules/ROOT/pages/customize-email-apis.adoc index 818b33f6f..67db22f91 100644 --- a/modules/ROOT/pages/customize-email-apis.adoc +++ b/modules/ROOT/pages/customize-email-apis.adoc @@ -62,45 +62,47 @@ In your `POST` request body, include the following parameters: [source,CURL] ---- curl -X POST \ - --url 'https://{ThoughtSpot-Host}/api/rest/2.0/customization/email' \ - -H 'Accept: application/json' \ - -H 'Content-Type: application/json' \ - -H 'Authorization: Bearer {AUTH_TOKEN}' \ - --data-raw '{ - { - "template_properties": { - "cta_button_bg_color": "", - "cta_text_font_color": "", - "primary_bg_color": "", - "Logo_url": - "https://storage.pardot.com/710713/1642089901EbkRibJq/TS_fullworkmark_darkmode.png", - "font_family": "", - "product_name": "ThoughtSpot", - "footer_address": "444 Castro St, Suite 1000 Mountain View, CA 94041", - "footer_phone": "(800) 508-7008", - "replacement_value_for_liveboard": "Dashboard", - "replacement_value_for_answer": "Chart", - "replacement_value_for_spot_iq": "AI Insights", - "hide_footer_phone": false, - "hide_footer_address": false, - "hide_product_name": false, - "hide_manage_notification": false, - "hide_mobile_app_nudge": false, - "hide_privacy_policy": false, - "hide_ts_vocabulary_definitions": false, - "hide_error_message": false, - "hide_unsubscribe_link": false, - "hide_notification_status": false, - "hide_modify_alert": false, - "company_website_url": "https://your-website.com/" - "company_privacy_policy_url" : "https://link-to-privacy-policy.com/" - }, - "org_identifier": "-1" -} - +--url 'https://{ThoughtSpot-Host}/api/rest/2.0/customization/email' \ +-H 'Accept: application/json' \ +-H 'Content-Type: application/json' \ +-H 'Authorization: Bearer {AUTH_TOKEN}' \ +--data-raw '{ +"template_properties": { + "cta_button_bg_color": "", + "cta_text_font_color": "", + "primary_bg_color": "", + "logo_url": "https://storage.pardot.com/710713/1642089901EbkRibJq/TS_fullworkmark_darkmode.png", + "font_family": "", + "product_name": "ThoughtSpot", + "footer_address": "444 Castro St, Suite 1000 Mountain View, CA 94041", + "footer_phone": "(800) 508-7008", + "replacement_value_for_liveboard": "Dashboard", + "replacement_value_for_answer": "Chart", + "replacement_value_for_spot_iq": "AI Insights", + "hide_footer_phone": false, + "hide_footer_address": false, + "hide_product_name": false, + "hide_manage_notification": false, + "hide_mobile_app_nudge": false, + "hide_privacy_policy": false, + "hide_ts_vocabulary_definitions": false, + "hide_error_message": false, + "hide_unsubscribe_link": false, + "hide_notification_status": false, + "hide_modify_alert": false, + "company_website_url": "https://your-website.com/", + "company_privacy_policy_url": "https://link-to-privacy-policy.com/", + "contact_support_url": "https://link-to-contact-support.com/", + "hide_contact_support_url": false, + "hide_logo_url": false +}, +"org_identifier": "-1" +}' ---- + + [.widthAuto] [.bordered] image:./images/email-template.png[JSON actions explained] From ae723463e31126d9f0c73a983cbf5434931fb967 Mon Sep 17 00:00:00 2001 From: Rani Gangwar Date: Wed, 25 Mar 2026 10:06:47 +0530 Subject: [PATCH 2/4] edited formatting --- modules/ROOT/pages/api-changelog.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/api-changelog.adoc b/modules/ROOT/pages/api-changelog.adoc index edd3e777f..9da304b83 100644 --- a/modules/ROOT/pages/api-changelog.adoc +++ b/modules/ROOT/pages/api-changelog.adoc @@ -12,7 +12,7 @@ This changelog lists only the changes introduced in the Visual Embed SDK. For in [width="100%" cols="1,4"] |==== -|[tag greenBackground]#NEW FEATURE# | *Email customization enhancements* + +|[tag greenBackground]#NEW FEATURE# a| *Email customization enhancements* + The following new attributes have been added to the `template_properties` for customizing ThoughtSpot notification emails: From 2ba91512b79b8888a92f7d4bac42716773d17eec Mon Sep 17 00:00:00 2001 From: Rani Gangwar Date: Wed, 25 Mar 2026 11:52:23 +0530 Subject: [PATCH 3/4] added param for email custom --- modules/ROOT/pages/api-changelog.adoc | 14 -------------- modules/ROOT/pages/rest-apiv2-changelog.adoc | 6 ++++++ 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/modules/ROOT/pages/api-changelog.adoc b/modules/ROOT/pages/api-changelog.adoc index 9da304b83..8f11bc5db 100644 --- a/modules/ROOT/pages/api-changelog.adoc +++ b/modules/ROOT/pages/api-changelog.adoc @@ -8,20 +8,6 @@ This changelog lists only the changes introduced in the Visual Embed SDK. For information about new features and enhancements available for embedded analytics, see xref:whats-new.adoc[What's New]. -== Version 1.47.x, April 2026 - -[width="100%" cols="1,4"] -|==== -|[tag greenBackground]#NEW FEATURE# a| *Email customization enhancements* + - -The following new attributes have been added to the `template_properties` for customizing ThoughtSpot notification emails: - -* The `contact_support_url` to set a custom URL for the contact support url in the footer. -* The `hide_contact_support_url` to toggle the visibility of contact support url in the footer. -* Set the `hide_logo_url` to `true` to entirely hide the logo component. - -For more information, refer to the xref:customize-email-apis.adoc[Customize email template documentation]. -|==== == Version 1.46.x, March 2026 diff --git a/modules/ROOT/pages/rest-apiv2-changelog.adoc b/modules/ROOT/pages/rest-apiv2-changelog.adoc index ab83f14b9..ea124bf12 100644 --- a/modules/ROOT/pages/rest-apiv2-changelog.adoc +++ b/modules/ROOT/pages/rest-apiv2-changelog.adoc @@ -8,6 +8,12 @@ This changelog lists the features and enhancements introduced in REST API v2.0. For information about new features and enhancements available for embedded analytics, see xref:whats-new.adoc[What's New]. +== Version 26.4.0.cl, April 2026 + +=== Email customization API enhancements + +The `template_properties` parameter now has the `hide_logo_url` elements for email template customization. Set it to `true` to entirely hide the logo component in the ThoughtSpot notification emails. + == Version 26.3.0.cl, March 2026 === Webhook APIs From 70244ffdab2cc35f42954327cc90627b71896497 Mon Sep 17 00:00:00 2001 From: Rani Gangwar Date: Wed, 25 Mar 2026 12:31:12 +0530 Subject: [PATCH 4/4] added changelog for hide logo --- modules/ROOT/pages/rest-apiv2-changelog.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/rest-apiv2-changelog.adoc b/modules/ROOT/pages/rest-apiv2-changelog.adoc index ea124bf12..b2abbaf27 100644 --- a/modules/ROOT/pages/rest-apiv2-changelog.adoc +++ b/modules/ROOT/pages/rest-apiv2-changelog.adoc @@ -12,7 +12,7 @@ This changelog lists the features and enhancements introduced in REST API v2.0. === Email customization API enhancements -The `template_properties` parameter now has the `hide_logo_url` elements for email template customization. Set it to `true` to entirely hide the logo component in the ThoughtSpot notification emails. +The `template_properties` parameter now has a `hide_logo_url` element for email template customization. Set it to `true` to entirely hide the logo component in the ThoughtSpot notification emails. == Version 26.3.0.cl, March 2026