Retrieve default theme values

Retrieve the default values for the current theme.

Procedure

  1. In a REST client platform, add the authentication details of the tenant to retrieve the default values of the current theme.
    
    //In case of Instance API key 
    Headers:
    {
    "x-instance-api-key": "instance_api_key"
    }
     
    // In case of MCSP or ISV token
    Headers:
    {
    "Authorization": "mcsp_or_isv_token"
    }
    
  2. Make a GET request at the URL of the project.

    URL syntax: <domain>/apis/v1/rest/themes/defaultvalues

    Method: GET

    If the request is successful, you receive the response code for success.

    {
    output: 
    	{
    	"primaryColor": "<primaryColor>",
    	"primaryHeaderTextColor": "<primaryHeaderTextColor>",
    	"primaryTextColor": "<primaryTextColor>",
    	"linkColor": "<linkColor>",
    	"primaryHoverColor": "<primaryHoverColor>",
    	"backgroundImage": "<backgroundImage>",
    	"logoFileName": "<logoFileName>",
    	"primaryBtnBgColor": "<primaryBtnBgColor>",
    	"primaryBtnColor": "<primaryBtnColor>",
    	"primaryBtnBrbColor": "<primaryBtnBrbColor>",
    	"secondaryBtnBgColor": "<secondaryBtnBgColor>",
    	"secondaryBtnColor": "<secondaryBtnColor>",
    	"secondaryBtnBrbColor": "<secondaryBtnBrbColor>",
    	"favIconImage": "<favIconImage>",
    	"favIconFileName": "<favIconFileName>",
    	"footerContent": "",
    	"aboutPageContent": ""
        }
    }