---
title: "set chat info"
method: PUT
path: "/admin/chat"
tags: ["chat"]
---

# set chat info

`PUT /admin/chat`

## Request body

- SvcChatUpdateReq
  - `config` ModelSystemChatConfig
    - `aes_key` string
    - `client_id` string
    - `client_secret` string
    - `client_token` string
    - `corp_id` string
    - `template_id` string
  - `enabled` boolean
  - `type` 0 | 1 | 2 | 3 | 4, required

## Response `200`

OK

- ContextResponse
  - `data` unknown
  - `err` string
  - `msg` string
  - `success` boolean
  - `trace_id` string

## Changes

> 33 revisions in range; 1 could not be searched.

- **2026-01-26** `1bf783ec4c37` — 1 info
  - endpoint added
- **2025-12-26** `4207addadff2` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/chaitin/apis/koalaqa-api/changes/admin/chat/put.md)

---

[API](https://skmtc.dev/chaitin/apis/koalaqa-api.md) · [All operations](https://skmtc.dev/chaitin/apis/koalaqa-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chaitin/koalaqa-api/revisions/29abcc05d9fd/schema)
