# List the contracts of the account

> The contracts of the account - web hosting, domains, server housing, vServers - and whether one is terminated.

- Effect: Read - Changes nothing.
- Idempotent: yes
- Stability: stable
- MCP tool: `manitu_account_contract_list` on https://mcp.manitu.de/mcp
- REST: `POST https://api.manitu.de/v1/account/contract/list`
- Needs: `account`
- Page: /reference/account/contract/list/

## MCP tool

`manitu_account_contract_list`

### Description for the model

Lists the contracts of the manitu customer account this connection works in: web hosting packages, domains on their own, server housing and vServers - each with its area, what it is called (contract_number), when it began, what it is for, and whether it is terminated already (is_terminated). site_id, domain and vserver_id lead to the routes of that area. Contracts are terminated in the customer panel only - say so if the user asks for that. Refused if this access may not see the account's contracts. It changes nothing.

### Arguments

Takes no arguments.

### Example

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

## REST

`POST https://api.manitu.de/v1/account/contract/list`

### Description

Lists the contracts of the account - web hosting packages, domains on their own, server housing and vServers -, each with its area, its contract_number, when it began, what it is for and whether it is terminated (is_terminated). site_id, domain and vserver_id lead to the routes of that area. Contracts are terminated in the customer panel. Refused if the access may not see the account's contracts. Changes nothing.

### Authentication

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

### Request body

JSON; unknown fields are refused.

No fields - send {} or no body.

### Response

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

- `contract_list` (array of object, required)
  - `contract_list[].contract_id` (string, required) - The contract in this list - the same as long as area and contract number are.
  - `contract_list[].area` (string, required) - webhosting: a web hosting package; domain: a domain on its own; server: server housing; vserver: a virtual server. (one of `"webhosting"`, `"server"`, `"domain"`, `"vserver"`)
  - `contract_list[].contract_number` (string, required) - What the contract is called on invoices and in the customer panel - the package name, the domain, the contract number.
  - `contract_list[].started_on` (string | null, required) - When the contract began. (format `date`)
  - `contract_list[].description` (string | null, required) - What the contract is for, as manitu names it (e.g. the plan, Webhosting M).
  - `contract_list[].site_id` (integer | null, required) - The web hosting package, as [`POST /v1/webhosting/get`](/reference/webhosting/get.md) takes it - null for other areas.
  - `contract_list[].domain` (string | null, required) - The domain, as [`POST /v1/domain/get`](/reference/domain/get.md) takes it - null for other areas.
  - `contract_list[].vserver_id` (integer | null, required) - The vServer, as [`POST /v1/vserver/get`](/reference/vserver/get.md) takes it - null for other areas.
  - `contract_list[].is_terminated` (boolean, required) - Whether the contract is terminated already.

### Statuses

- `200` Success.
- `400` The input is wrong, or the request itself (INVALID_INPUT). Each entry names its field and its reason - correct the input and call again.
- `401` No credential was presented, or it was not recognised (UNAUTHENTICATED).
- `403` The credential is valid, but may not do this (PERMISSION_DENIED). The reason says why - another credential is the way, not a repeat.
- `429` Too many calls. The Retry-After header says when to try again.
- `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/account/contract/list' \
  -H "X-API-Key: $API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{}'
```

## Example result

```json
{
  "contract_list": [
    {
      "contract_id": "string",
      "area": "webhosting",
      "contract_number": "string",
      "started_on": "2026-10-23",
      "description": "Example",
      "site_id": 12345,
      "domain": "example.com",
      "vserver_id": 12345,
      "is_terminated": true
    }
  ]
}
```
