# Show the ways into the account

> Which ways in the user allows for the whole account (panel, rest, mcp), and which manitu closed.

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

## MCP tool

`manitu_account_channel_get`

### Description for the model

Shows which ways in the user allows for the whole manitu customer account this connection works in: panel (customer panel), rest (API), mcp (AI agents like this one) - and which manitu closed (locked_channel_list), whatever the user chose. Only the user can change them, in the customer panel. What this connection itself may use is [`manitu_whoami`](/reference/whoami.md); the ways in of one access: [`manitu_account_access_get`](/reference/account/access/get.md). It changes nothing.

### Arguments

Takes no arguments.

### Example

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

## REST

`POST https://api.manitu.de/v1/account/channel/get`

### Description

Returns the ways in the account holder allows for the whole account - panel (the customer panel), rest and mcp - and those manitu closed (locked_channel_list), whatever the holder chose. They are changed in the customer panel. What the connection itself may use is [`POST /v1/whoami`](/reference/whoami.md); the ways in of one access, [`POST /v1/account/access/get`](/reference/account/access/get.md). 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.

- `account_id` (integer, required) - The customer account - its id is also its customer number.
- `channel_list` (array of string, required) - The ways in the user allows for the whole account: panel (customer panel), rest (API), mcp (AI agents).
- `is_customized` (boolean, required) - Whether the user chose the ways in; false: the defaults apply.
- `locked_channel_list` (array of string, required) - The ways in manitu closed - closed whatever channel_list says.

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

## Example result

```json
{
  "account_id": 12345,
  "channel_list": [
    "panel"
  ],
  "is_customized": true,
  "locked_channel_list": [
    "panel"
  ]
}
```
