Chrome
Brand Management
Return cPanel theme header and footer HTML
This function returns header and footer HTML. You can use this HTML to create a page with the same visual appearance as your cPanel theme.
get/Chrome/get_dom
Query parameters
page_titlestring required
Example:Test
The title of the page to wrap in the theme's headers and footers.
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "get_dom",
"module": "Chrome",
"result": {
"data": {
"footer": "\n<!-- The Footer HTML of the user's assigned theme -->\n</html>\n\n",
"header": "\n\n<!DOCTYPE html>\n\n<html lang=\"en\" dir=\"ltr\">\n<!-- The Header HTML of the user's assigned theme -->"
},
"status": 1
}
}