# List the domains of a web hosting package

> Its own domain, additional and external domains, aliases - with their status.

- Effect: Read - Changes nothing.
- Idempotent: yes
- Stability: beta
- MCP tool: `manitu_webhosting_domain_list` on https://mcp.manitu.de/mcp
- REST: `POST https://api.manitu.de/v1/webhosting/domain/list`
- Needs: `service_webhosting`
- Page: /reference/webhosting/domain/list/

## MCP tool

`manitu_webhosting_domain_list`

### Description for the model

Lists the domains of a web hosting package of the manitu customer account this connection works in, by its site_id from manitu_webhosting_list: the package's own domain, additional ones, external ones (registered elsewhere) and aliases - with status, and whether a transfer to manitu is still pending. Subdomains: manitu_webhosting_subdomain_list. The domain itself (registration, DNS): manitu_domain_get. It changes nothing.

### Arguments

- `site_id` (integer | string, required) - The site_id from manitu_webhosting_list - never guess one. (pattern `"^[1-9][0-9]*$"`; minimum `1`)

### Example

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "manitu_webhosting_domain_list",
    "arguments": {
      "site_id": 12345
    }
  }
}
```

## REST

`POST https://api.manitu.de/v1/webhosting/domain/list`

### Authentication

One of `X-API-Key`, `Authorization: Bearer …` - never more than one in a request.

### Request body

JSON; unknown fields are refused.

- `site_id` (integer | string, required) - The site_id from manitu_webhosting_list - never guess one. (pattern `"^[1-9][0-9]*$"`; minimum `1`)

### Response

In `data`; the rest of the body as on every call.

- `domain_list` (array of object, required)
  - `domain_list[].name` (string, required) - As the customer writes it (umlauts as they are).
  - `domain_list[].name_ascii` (string | null, required) - The ASCII form (xn--...) - the same for a name without umlauts.
  - `domain_list[].type` (string | null, required) - primary: the package's own domain; additional: one more domain in the package; external: registered elsewhere, the package takes web, mail and name servers for it; alias: shows the same as the primary domain. (one of `"primary"`, `"additional"`, `"external"`, `"alias"`, `null`)
  - `domain_list[].status` (string | null, required) - active; inactive: not in use yet (e.g. while it is being transferred to manitu); expiring: cancelled, it ends. (one of `"active"`, `"inactive"`, `"expiring"`, `null`)
  - `domain_list[].is_transfer_pending` (boolean, required) - The domain is not with manitu yet (being transferred) - e.g. no Let's Encrypt certificate until it is.
  - `domain_list[].set_up_on` (string | null, required) - (format `date`)

### Statuses

- `200` Success.
- `400` The request does not match the declared input schema.
- `401` No credential was presented, or it was not recognised.
- `403` The credential is not permitted to use this operation.
- `500` The server failed. Nothing about the request was wrong. Whether a change took effect is not known - check before trying it again.
- `503` The channel this operation forwards through is unavailable.

### Example

```sh
curl -X POST 'https://api.manitu.de/v1/webhosting/domain/list' \
  -H 'X-API-Key: $API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"site_id":12345}'
```

## Example result

```json
{
  "domain_list": [
    {
      "name": "example.com",
      "name_ascii": "string",
      "type": "primary",
      "status": "active",
      "is_transfer_pending": true,
      "set_up_on": "2026-10-23"
    }
  ]
}
```
