v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
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.

apiversioninteger

The version of the API.

funcstring

The name of the method called.

modulestring

The name of the module called.

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
  }
}