ThoughtSpot Email Customization API

The Email Customization API from ThoughtSpot — 6 operation(s) for email customization.

Operations 6

POST /api/rest/2.0/customization/email #
POST /api/rest/2.0/customization/email/{template_identifier}/delete #
POST /api/rest/2.0/customization/email/delete #
POST /api/rest/2.0/customization/email/search #
POST /api/rest/2.0/customization/email/update #
POST /api/rest/2.0/customization/email/validate #

Documentation

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/thoughtspot-email-customization-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

thoughtspot-email-customization-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ThoughtSpot Public REST Email Customization API
  version: '2.0'
servers:
- url: '{base-url}'
  variables:
    base-url:
      default: https://localhost:443
security:
- bearerAuth: []
tags:
- name: Email Customization
paths:
  /api/rest/2.0/customization/email:
    post:
      operationId: createEmailCustomization
      description: "\n<span class=\"since-beta-tag\">Beta</span> <span class=\"since-beta-tag\">Version: 10.10.0.cl or later</span>\n\nCreates a customization configuration for the notification email.\n\n#### Pre-requisites\n\nRequires `DEVELOPER` (**has developer privilege**) or `ADMINISTRATION` (**Can administer ThoughtSpot**) privilege.\nIf [Role-Based Access Control (RBAC)](https://developers.thoughtspot.com/docs/rbac) is enabled on your instance, the `DEVELOPER` (**Has developer privilege**) privilege is required.\n\n**NOTE**:This endpoint in currently in beta. Contact ThoughtSpot support to enable this on your instance.\n\n#### Usage guidelines\n\nTo create a custom configuration pass these parameters in your API request:\n\n- A JSON map of configuration attributes `template_properties`. The following example shows a sample set of customization configuration:\n\n```\n{\n  {\n      \"cta_button_bg_color\": \"#444DEA\",\n      \"cta_text_font_color\": \"#FFFFFF\",\n      \"primary_bg_color\": \"#D3DEF0\",\n      \"logo_url\": \"https://storage.pardot.com/710713/1642089901EbkRibJq/TS_fullworkmark_darkmode.png\",\n  \t  \"font_family\": \"\",\n      \"product_name\": \"ThoughtSpot\",\n      \"footer_address\": \"444 Castro St, Suite 1000 Mountain View, CA 94041\",\n\t  \"footer_phone\": \"(800) 508-7008\",\n      \"replacement_value_for_liveboard\": \"Dashboard\",\n      \"replacement_value_for_answer\": \"Chart\",\n      \"replacement_value_for_spot_iq\": \"AI Insights\",\n   \t  \"hide_footer_phone\": false,\n      \"hide_footer_address\": false,\n      \"hide_product_name\": false,\n      \"hide_manage_notification\": false,\n      \"hide_mobile_app_nudge\": false,\n      \"hide_privacy_policy\": false,\n      \"hide_ts_vocabulary_definitions\": false,\n      \"hide_error_message\": false,\n      \"hide_unsubscribe_link\": false,\n      \"hide_notification_status\": false,\n      \"hide_modify_alert\": false,\n      \"company_website_url\": \"https://your-website.com/\",\n      \"company_privacy_policy_url\" : \"https://link-to-privacy-policy.com/\",\n      \"contact_support_url\": \"https://link-to-contact-support.com/\",\n      \"hide_contact_support_url\": false,\n\t  \"hide_logo_url\" : false\n  }\n}\n```\n\n\n\n\n#### Endpoint URL\n"
      tags:
      - Email Customization
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateEmailCustomizationRequest'
        required: true
      parameters: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateEmailCustomizationResponse'
        '400':
          description: Invalid request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Unauthorized access.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /api/rest/2.0/customization/email/{template_identifier}/delete:
    post:
      operationId: deleteEmailCustomization
      description: '

        <span class="since-beta-tag">Beta</span> <span class="since-beta-tag">Version: 10.10.0.cl or later</span>


        Deletes the configuration for the email customization.


        #### Pre-requisites


        Requires `DEVELOPER` (**has developer privilege**) or `ADMINISTRATION` (**Can administer ThoughtSpot**) privilege.

        If [Role-Based Access Control (RBAC)](https://developers.thoughtspot.com/docs/rbac) is enabled on your instance, the `DEVELOPER` (**Has developer privilege**) privilege is required.


        **NOTE**:This endpoint in currently in beta. Contact ThoughtSpot support to enable this on your instance.


        #### Usage guidelines


        - Call the search API endpoint to get the `template_identifier` from the response.

        - Use that `template_identifier` as a parameter in this API request.





        #### Endpoint URL

        '
      deprecated: true
      tags:
      - Email Customization
      parameters:
      - in: path
        name: template_identifier
        required: true
        schema:
          type: string
        description: Unique ID or name of the email customization.
      responses:
        '204':
          description: Email Customization configuration successfully deleted.
        '400':
          description: Invalid request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Unauthorized access.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /api/rest/2.0/customization/email/delete:
    post:
      operationId: deleteOrgEmailCustomization
      description: '

        <span class="since-beta-tag">Beta</span> <span class="since-beta-tag">Version: 10.12.0.cl or later</span>


        Deletes the configuration for the email customization.


        #### Pre-requisites


        Requires `DEVELOPER` (**has developer privilege**) or `ADMINISTRATION` (**Can administer ThoughtSpot**) privilege.

        If [Role-Based Access Control (RBAC)](https://developers.thoughtspot.com/docs/rbac) is enabled on your instance, the `DEVELOPER` (**Has developer privilege**) privilege is required.


        **NOTE**:This endpoint in currently in beta. Contact ThoughtSpot support to enable this on your instance.


        #### Usage guidelines


        - Call the search API endpoint to get the `org_identifier` from the response.

        - Use that `org_identifier` as a parameter in this API request.





        #### Endpoint URL

        '
      tags:
      - Email Customization
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteOrgEmailCustomizationRequest'
        required: true
      parameters: []
      responses:
        '204':
          description: Email Customization configuration successfully deleted.
        '400':
          description: Invalid request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized access.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Unauthorized access.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /api/rest/2.0/customization/email/search:
    post:
      operationId: searchEmailCustomization
      description: '

        <span class="since-beta-tag">Beta</span> <span class="since-beta-tag">Version: 10.10.0.cl or later</span>


        Search the email customization configuration if any set for the ThoughtSpot system.


        #### Pre-requisites


        Requires `DEVELOPER` (**has developer privilege**) or `ADMINISTRATION` (**Can administer ThoughtSpot**) privilege.

        If [Role-Based Access Control (RBAC)](https://developers.thoughtspot.com/docs/rbac) is enabled on your instance, the `DEVELOPER` (**Has developer privilege**) privilege is required.


        **NOTE**:This endpoint in currently in beta. Contact ThoughtSpot support to enable this on your instance.





        #### Endpoint URL

        '
      tags:
      - Email Customization
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SearchEmailCustomizationRequest'
        required: true
      parameters: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CreateEmailCustomizationResponse'
        '400':
          description: Invalid request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Unauthorized access.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /api/rest/2.0/customization/email/update:
    post:
      operationId: updateEmailCustomization
      description: "\n<span class=\"since-beta-tag\">Beta</span> <span class=\"since-beta-tag\">Version: 10.12.0.cl or later</span>\n\nUpdates a customization configuration for the notification email.\n\n#### Pre-requisites\n\nRequires `DEVELOPER` (**has developer privilege**) or `ADMINISTRATION` (**Can administer ThoughtSpot**) privilege.\nIf [Role-Based Access Control (RBAC)](https://developers.thoughtspot.com/docs/rbac) is enabled on your instance, the `DEVELOPER` (**Has developer privilege**) privilege is required.\n\n**NOTE**:This endpoint in currently in beta. Contact ThoughtSpot support to enable this on your instance.\n\n#### Usage guidelines\n\nTo update a custom configuration pass these parameters in your API request:\n\n- A JSON map of configuration attributes `template_properties`. The following example shows a sample set of customization configuration:\n\n```\n{\n  {\n      \"cta_button_bg_color\": \"#444DEA\",\n    \t\"cta_text_font_color\": \"#FFFFFF\",\n    \t\"primary_bg_color\": \"#D3DEF0\",\n        \"logo_url\": \"https://storage.pardot.com/710713/1642089901EbkRibJq/TS_fullworkmark_darkmode.png\",\n  \t    \"font_family\": \"\",\n    \t\"product_name\": \"ThoughtSpot\",\n    \t\"footer_address\": \"444 Castro St, Suite 1000 Mountain View, CA 94041\",\n\t    \"footer_phone\": \"(800) 508-7008\",\n        \"replacement_value_for_liveboard\": \"Dashboard\",\n    \t\"replacement_value_for_answer\": \"Chart\",\n    \t\"replacement_value_for_spot_iq\": \"AI Insights\",\n   \t    \"hide_footer_phone\": false,\n        \"hide_footer_address\": false,\n        \"hide_product_name\": false,\n    \t\"hide_manage_notification\": false,\n    \t\"hide_mobile_app_nudge\": false,\n    \t\"hide_privacy_policy\": false,\n     \t\"hide_ts_vocabulary_definitions\": false,\n    \t\"hide_error_message\": false,\n    \t\"hide_unsubscribe_link\": false,\n        \"hide_notification_status\": false,\n    \t\"hide_modify_alert\": false,\n    \t\"company_website_url\": \"https://your-website.com/\",\n    \t\"company_privacy_policy_url\" : \"https://link-to-privacy-policy.com/\",\n        \"contact_support_url\": \"https://link-to-contact-support.com/\",\n        \"hide_contact_support_url\": false,\n\t    \"hide_logo_url\" : false\n  }\n}\n```\n\n\n\n\n#### Endpoint URL\n"
      tags:
      - Email Customization
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateEmailCustomizationRequest'
        required: true
      parameters: []
      responses:
        '204':
          description: Email Customization configuration successfully updated.
        '400':
          description: Invalid request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized access.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Unauthorized access.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /api/rest/2.0/customization/email/validate:
    post:
      operationId: validateEmailCustomization
      description: '

        <span class="since-beta-tag">Beta</span> <span class="since-beta-tag">Version: 10.10.0.cl or later</span>


        Validates the email customization configuration if any set for the ThoughtSpot system.


        #### Pre-requisites


        Requires `DEVELOPER` (**has developer privilege**) or `ADMINISTRATION` (**Can administer ThoughtSpot**) privilege.

        If [Role-Based Access Control (RBAC)](https://developers.thoughtspot.com/docs/rbac) is enabled on your instance, the `DEVELOPER` (**Has developer privilege**) privilege is required.


        **NOTE**:This endpoint in currently in beta. Contact ThoughtSpot support to enable this on your instance.





        #### Endpoint URL

        '
      tags:
      - Email Customization
      parameters: []
      responses:
        '204':
          description: Triggered test email for customization configuration
        '400':
          description: Invalid request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Unauthorized access.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        error:
          type:
          - object
          - 'null'
    Template_Properties_Input_Create:
      type: object
      properties:
        cta_button_bg_color:
          type:
          - string
          - 'null'
          description: Background color for call-to-action button in hex format
        cta_text_font_color:
          type:
          - string
          - 'null'
          description: Text color for call-to-action button in hex format
        primary_bg_color:
          type:
          - string
          - 'null'
          description: Primary background color in hex format
        home_url:
          type:
          - string
          - 'null'
          description: Home page URL (HTTP/HTTPS only)
        logo_url:
          type:
          - string
          - 'null'
          description: Logo image URL (HTTP/HTTPS only)
        font_family:
          type:
          - string
          - 'null'
          description: Font family for email content (e.g., Arial, sans-serif)
        product_name:
          type:
          - string
          - 'null'
          description: Product name to display
        footer_address:
          type:
          - string
          - 'null'
          description: Footer address text
        footer_phone:
          type:
          - string
          - 'null'
          description: Footer phone number
        replacement_value_for_liveboard:
          type:
          - string
          - 'null'
          description: Replacement value for Liveboard
        replacement_value_for_answer:
          type:
          - string
          - 'null'
          description: Replacement value for Answer
        replacement_value_for_spot_iq:
          type:
          - string
          - 'null'
          description: Replacement value for SpotIQ
        hide_footer_address:
          type:
          - boolean
          - 'null'
          description: Whether to hide footer address
        hide_footer_phone:
          type:
          - boolean
          - 'null'
          description: Whether to hide footer phone number
        hide_manage_notification:
          type:
          - boolean
          - 'null'
          description: Whether to hide manage notification link
        hide_mobile_app_nudge:
          type:
          - boolean
          - 'null'
          description: Whether to hide mobile app nudge
        hide_privacy_policy:
          type:
          - boolean
          - 'null'
          description: Whether to hide privacy policy link
        hide_product_name:
          type:
          - boolean
          - 'null'
          description: Whether to hide product name
        hide_ts_vocabulary_definitions:
          type:
          - boolean
          - 'null'
          description: Whether to hide ThoughtSpot vocabulary definitions
        hide_notification_status:
          type:
          - boolean
          - 'null'
          description: Whether to hide notification status
        hide_error_message:
          type:
          - boolean
          - 'null'
          description: Whether to hide error message
        hide_unsubscribe_link:
          type:
          - boolean
          - 'null'
          description: Whether to hide unsubscribe link
        hide_modify_alert:
          type:
          - boolean
          - 'null'
          description: Whether to hide modify alert
        company_privacy_policy_url:
          type:
          - string
          - 'null'
          description: Company privacy policy URL (HTTP/HTTPS only)
        company_website_url:
          type:
          - string
          - 'null'
          description: Company website URL (HTTP/HTTPS only)
        contact_support_url:
          type:
          - string
          - 'null'
          description: 'Contact support url (HTTP/HTTPS only). <br/>  <span class="since-beta-tag">Version: 26.2.0.cl or later</span>'
        hide_contact_support_url:
          type:
          - boolean
          - 'null'
          description: 'Whether to hide contact support url. <br/>  <span class="since-beta-tag">Version: 26.2.0.cl or later</span>'
        hide_logo_url:
          type:
          - boolean
          - 'null'
          description: 'Whether to hide logo <br/>  <span class="since-beta-tag">Version: 26.4.0.cl or later</span>'
      description: Email customization configuration properties
    OrgType:
      type: object
      properties:
        name:
          type:
          - string
          - 'null'
        id:
          type:
          - integer
          - 'null'
          format: int32
    CreateEmailCustomizationRequest:
      type: object
      properties:
        template_properties:
          description: Email customization configuration as key value pair
          allOf:
          - $ref: '#/components/schemas/Template_Properties_Input_Create'
        org_identifier:
          description: 'Unique ID or name of org <br/>  <span class="since-beta-tag">Version: 10.12.0.cl or later</span>'
          type: string
      required:
      - template_properties
    CreateEmailCustomizationResponse:
      type: object
      required:
      - tenant_id
      - org
      - name
      - template_properties
      properties:
        tenant_id:
          type: string
          description: Tenant ID
        org:
          $ref: '#/components/schemas/OrgType'
          description: Email customization org
        name:
          type: string
          description: Email customization name.
        template_properties:
          type: object
          description: Customization configuration for the email
    UpdateEmailCustomizationRequest:
      type: object
      properties:
        template_properties:
          description: Email customization configuration as key value pair
          allOf:
          - $ref: '#/components/schemas/Template_Properties_Input_Create'
        org_identifier:
          description: Unique ID or name of org
          type: string
      required:
      - template_properties
    DeleteOrgEmailCustomizationRequest:
      type: object
      properties:
        org_identifiers:
          description: Unique identifier of the organization.
          type: array
          items:
            type: string
    SearchEmailCustomizationRequest:
      type: object
      properties:
        org_identifiers:
          description: 'Unique ID or name of org <br/>  <span class="since-beta-tag">Version: 10.12.0.cl or later</span>'
          type: array
          items:
            type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
x-roles:
- name: 26.2.0.cl
  id: 26.2.0.cl
  tags:
  - 26.2.0.cl
  description: Roles for version 26.2.0.cl
- name: 10.4.0.cl
  id: 10.4.0.cl
  tags:
  - 10.4.0.cl
  description: Roles for version 10.4.0.cl
- name: 26.7.0.cl
  id: 26.7.0.cl
  tags:
  - 26.7.0.cl
  description: Roles for version 26.7.0.cl
- name: 26.8.0.cl
  id: 26.8.0.cl
  tags:
  - 26.8.0.cl
  description: Roles for version 26.8.0.cl
- name: 26.6.0.cl
  id: 26.6.0.cl
  tags:
  - 26.6.0.cl
  description: Roles for version 26.6.0.cl
- name: 10.15.0.cl
  id: 10.15.0.cl
  tags:
  - 10.15.0.cl
  description: Roles for version 10.15.0.cl
- name: 10.13.0.cl
  id: 10.13.0.cl
  tags:
  - 10.13.0.cl
  description: Roles for version 10.13.0.cl
- name: 26.9.0.cl
  id: 26.9.0.cl
  tags:
  - 26.9.0.cl
  description: Roles for version 26.9.0.cl
- name: 10.7.0.cl
  id: 10.7.0.cl
  tags:
  - 10.7.0.cl
  description: Roles for version 10.7.0.cl
- name: 26.5.0.cl
  id: 26.5.0.cl
  tags:
  - 26.5.0.cl
  description: Roles for version 26.5.0.cl
- name: 9.0.0.cl
  id: 9.0.0.cl
  tags:
  - 9.0.0.cl
  description: Roles for version 9.0.0.cl
- name: 9.4.0.cl
  id: 9.4.0.cl
  tags:
  - 9.4.0.cl
  description: Roles for version 9.4.0.cl
- name: 9.12.0.cl
  id: 9.12.0.cl
  tags:
  - 9.12.0.cl
  description: Roles for version 9.12.0.cl
- name: 26.4.0.cl
  id: 26.4.0.cl
  tags:
  - 26.4.0.cl
  description: Roles for version 26.4.0.cl
- name: 10.12.0.cl
  id: 10.12.0.cl
  tags:
  - 10.12.0.cl
  description: Roles for version 10.12.0.cl
- name: 9.2.0.cl
  id: 9.2.0.cl
  tags:
  - 9.2.0.cl
  description: Roles for version 9.2.0.cl
- name: 9.9.0.cl
  id: 9.9.0.cl
  tags:
  - 9.9.0.cl
  description: Roles for version 9.9.0.cl
- name: 9.6.0.cl
  id: 9.6.0.cl
  tags:
  - 9.6.0.cl
  description: Roles for version 9.6.0.cl
- name: 10.10.0.cl
  id: 10.10.0.cl
  tags:
  - 10.10.0.cl
  description: Roles for version 10.10.0.cl
- name: 10.6.0.cl
  id: 10.6.0.cl
  tags:
  - 10.6.0.cl
  description: Roles for version 10.6.0.cl
- name: 10.3.0.cl
  id: 10.3.0.cl
  tags:
  - 10.3.0.cl
  description: Roles for version 10.3.0.cl
- name: 10.1.0.cl
  id: 10.1.0.cl
  tags:
  - 10.1.0.cl
  description: Roles for version 10.1.0.cl
- name: 10.9.0.cl
  id: 10.9.0.cl
  tags:
  - 10.9.0.cl
  description: Roles for version 10.9.0.cl
- name: 10.8.0.cl
  id: 10.8.0.cl
  tags:
  - 10.8.0.cl
  description: Roles for version 10.8.0.cl
- name: 9.5.0.cl
  id: 9.5.0.cl
  tags:
  - 9.5.0.cl
  description: Roles for version 9.5.0.cl
- name: 26.3.0.cl
  id: 26.3.0.cl
  tags:
  - 26.3.0.cl
  description: Roles for version 26.3.0.cl
- name: 10.14.0.cl
  id: 10.14.0.cl
  tags:
  - 10.14.0.cl
  description: Roles for version 10.14.0.cl
- name: 9.7.0.cl
  id: 9.7.0.cl
  tags:
  - 9.7.0.cl
  description: Roles for version 9.7.0.cl