# Ask for a change of contact details

> Address, phone numbers and e-mail addresses - changed by manitu's staff.

- Effect: Write - Changes the account. Agents ask first.
- Idempotent: no
- Stability: beta
- MCP tool: `manitu_account_contact_set` on https://mcp.manitu.de/mcp
- REST: `POST https://api.manitu.de/v1/account/contact/set`
- Needs: `account`
- Page: /reference/account/contact/set/

**Changes the account. Agents say what will happen and wait for an explicit yes before calling it.**

## MCP tool

`manitu_account_contact_set`

### Description for the model

Asks manitu to change the postal address, phone numbers or e-mail addresses of the manitu customer account this connection works in; send only what is to change, in the shape manitu_account_contact_get shows. It is not changed at once: manitu's staff carry it out, and the customer gets a mail when it is done - until then manitu_account_contact_get shows the old values. null clears the second address line, the billing, technical and domain registration addresses or one of the two phone numbers - nothing else. Name and organisation cannot be changed here - for a new holder the customer writes to manitu (manitu_message_send). Only when the customer asks for exactly this; say what will change and ask for an explicit yes first. Refused if this access may not change the account's base data.

### Arguments

- `address` (object) - (minProperties `1`)
  - `address.street` (string) - Street and number. (minLength `1`; maxLength `128`)
  - `address.street_2` (string | null) - Second address line. null: clear it. (minLength `1`; maxLength `128`)
  - `address.zip_code` (string) - Postal code. (minLength `1`; maxLength `16`)
  - `address.city` (string) - City. (minLength `1`; maxLength `64`)
  - `address.country` (string) - Country code, ISO 3166-1 alpha-2 (DE, AT, CH). (minLength `1`; maxLength `2`)
- `phone` (object) - (minProperties `1`)
  - `phone.landline` (string | null) - International, with blanks or dashes between country code, area code and number: +49 30 1234567. null: clear it. (minLength `1`; maxLength `64`)
  - `phone.mobile` (string | null) - International, with blanks or dashes between country code, prefix and number: +49 171 1234567. null: clear it. (minLength `1`; maxLength `64`)
- `email` (object) - (minProperties `1`)
  - `email.general` (string) - The primary address - every kind of message without an address of its own goes here. (minLength `1`; maxLength `128`)
  - `email.billing` (string | null) - Where invoices go. null: clear it. (minLength `1`; maxLength `128`)
  - `email.technical` (string | null) - Where technical notices go. null: clear it. (minLength `1`; maxLength `128`)
  - `email.domain_registration` (string | null) - Where domain registration mail goes. null: clear it. (minLength `1`; maxLength `128`)

### Example

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

## REST

`POST https://api.manitu.de/v1/account/contact/set`

### Authentication

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

### Request body

JSON; unknown fields are refused.

Send at least 1 field(s).

- `address` (object) - (minProperties `1`)
  - `address.street` (string) - Street and number. (minLength `1`; maxLength `128`)
  - `address.street_2` (string | null) - Second address line. null: clear it. (minLength `1`; maxLength `128`)
  - `address.zip_code` (string) - Postal code. (minLength `1`; maxLength `16`)
  - `address.city` (string) - City. (minLength `1`; maxLength `64`)
  - `address.country` (string) - Country code, ISO 3166-1 alpha-2 (DE, AT, CH). (minLength `1`; maxLength `2`)
- `phone` (object) - (minProperties `1`)
  - `phone.landline` (string | null) - International, with blanks or dashes between country code, area code and number: +49 30 1234567. null: clear it. (minLength `1`; maxLength `64`)
  - `phone.mobile` (string | null) - International, with blanks or dashes between country code, prefix and number: +49 171 1234567. null: clear it. (minLength `1`; maxLength `64`)
- `email` (object) - (minProperties `1`)
  - `email.general` (string) - The primary address - every kind of message without an address of its own goes here. (minLength `1`; maxLength `128`)
  - `email.billing` (string | null) - Where invoices go. null: clear it. (minLength `1`; maxLength `128`)
  - `email.technical` (string | null) - Where technical notices go. null: clear it. (minLength `1`; maxLength `128`)
  - `email.domain_registration` (string | null) - Where domain registration mail goes. null: clear it. (minLength `1`; maxLength `128`)

### Response

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

- `handled` (string, required) - manual: manitu's staff carry it out - it takes a while. (one of `"manual"`)
- `field_list` (array of string, required) - The fields asked for, as JSON pointers (/address/city).

### 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/account/contact/set' \
  -H 'X-API-Key: $API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{}'
```

## Example result

```json
{
  "handled": "manual",
  "field_list": [
    "string"
  ]
}
```
