---
title: "Return additional domain data"
method: GET
path: "/convert_addon_fetch_domain_details"
tags: ["Domain Information"]
---

# Return additional domain data

`GET /convert_addon_fetch_domain_details`

This function retrieves domain data for an addon domain.

**Important:**

When you disable the
[Web Server role](https://go.cpanel.net/howtouseserverprofiles#roles),
the system **disables** this function.

## Query parameters

- `domain` string, domain, required

## Response `200`

HTTP Request was successful.

- object
  - `data` object
    - `docroot` string — The absolute file path of the addon domain.
    - `has_dedicated_ip` 1 | 0 — Whether the domain uses a dedicated IP address. * `1` — The domain uses a dedicated IP address. * `0` — The domain does **not** use a dedicated IP address.
    - `has_ssl_cert_installed` 1 | 0 — Whether an SSL certificate secures the domain. * `1` — An SSL certificate secures the domain. * `0` — An SSL certificate does **not** secure the domain.
    - `ip` string, ipv4 — The domain's IP address.
    - `is_sni_supported` 1 | 0 — Whether the domain supports Server Name Indication (SNI). * `1` — The domain supports SNI. * `0` — The domain does **not** support SNI.
    - `number_of_autoresponders` integer — The number of the domain's autoresponders.
    - `number_of_domain_forwarders` integer — The number of the domain's domain forwarders.
    - `number_of_email_accounts` integer — The number of the domain's email accounts.
    - `number_of_email_forwarders` integer — The number of the domain's email forwarders.
    - `owner` string, username — The addon domain owner's cPanel account username.
  - `metadata` object
    - `command` string
    - `reason` string — The reason the function failed when the `metadata.result` field is `0`. This field may include a success message when the function succeeds.
    - `result` 1 | 0 — * `1` — Success. * `0` — Failed. Check the `reason` field for more details.
    - `version` integer — The API version of the function.

---

[API](https://skmtc.net/cpanel/apis/whm-api.md) · [All operations](https://skmtc.net/cpanel/apis/whm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cpanel/whm-api/revisions/3da41671c02c/schema)
