latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

Domain Information

Return additional domain data

This function retrieves domain data for an addon domain.

Important:

When you disable the Web Server role, the system disables this function.

get/convert_addon_fetch_domain_details

Query parameters

domainstring domain required
Example:example.com

The addon domain for which to retrieve details.

Response

HTTP Request was successful.

Example response

{
  "data": {
    "docroot": "/home/exampleparent/public_html/example.com",
    "ip": "192.0.2.0",
    "number_of_domain_forwarders": 1,
    "number_of_email_accounts": 2,
    "number_of_email_forwarders": 1,
    "owner": "username"
  },
  "metadata": {
    "command": "convert_addon_fetch_domain_details",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}