## Message subscriptions (`message-subscriptions`)

Choose which notification types to receive.

Authentication: User · Docs: https://www-sa2.kuxitong.com/en/docs/api/message-subscriptions

### GET `/api/v2/message-subscriptions`

Message subscriptions · Authentication: User

```sh
curl "https://panel.example.com/api/v2/message-subscriptions" \
  -H "X-API-Key: $GOCDN_API_KEY"
```

### PUT `/api/v2/message-subscriptions`

Update message subscriptions · Authentication: User

Request body:

| Field | Type | Required | Description |
|---|---|---|---|
| `channels` | object |  | Channels the platform can send right now (delivery method on and channel configured, the same rule used when queueing); a channel that is false never delivers even if subscribed. Returned in responses only. |
| `items` | SubscriptionItem[] | Yes | Items on this page |

```sh
curl -X PUT "https://panel.example.com/api/v2/message-subscriptions" \
  -H "X-API-Key: $GOCDN_API_KEY"
```

Message subscriptions object:

| Field | Type | Required | Description |
|---|---|---|---|
| `channels` | object |  | Channels the platform can send right now (delivery method on and channel configured, the same rule used when queueing); a channel that is false never delivers even if subscribed. Returned in responses only. (read-only) |
| `items` | SubscriptionItem[] |  | Items on this page |
