Settings API
Reads and updates a channel's consultation settings (consultation hours, chat feature, inbound domain, consultation start message).
- Reads (GET) require BrandRead; updates (POST) require BrandWrite.
- Base URL:
https://api.talkbridge.io - Headers: every request (reads included) needs
Authorization: Bearer blumnb-.... Updates (POST) also sendContent-Type: application/json. A missing or invalid key returns401; a key not authorized for the brand returns403 NO_BRAND_SCOPE— see Error Codes - Response envelope:
{ "ok": boolean, "code": string, "message": string, "data": object }
Consultation hours
GET /api/agent/channel/schedule?brand=mybrand
POST /api/agent/channel/schedule
This feature is for KakaoTalk consultation chat only. It reads and updates the consultation hours of a Kakao consultation chat channel.
Update body:
| Field | Type | Required | Description |
|---|---|---|---|
brandKey | string | ✅ | Brand key |
weekTimetable | array | ✅ | Consultation-hour slots per day of the week |
weekTimetable[] items:
| Field | Type | Description |
|---|---|---|
day | string | Day of the week |
startAt | string | Start time |
endAt | string | End time |
curl -X POST https://api.talkbridge.io/api/agent/channel/schedule \
-H "Authorization: Bearer blumnb-..." -H "Content-Type: application/json" \
-d '{
"brandKey": "mybrand",
"weekTimetable": [
{ "day": "MON", "startAt": "09:00", "endAt": "18:00" },
{ "day": "TUE", "startAt": "09:00", "endAt": "18:00" }
]
}'
If weekTimetable is empty, the request is rejected with 400 EMPTY.
- This is the same setting as Brand settings → Consultation hours in TalkBridge Center. You can set only a start and end time per day; detailed settings such as agent break times or public holidays are not available.
- Messages that arrive outside consultation hours get KakaoTalk's default response. This default response does not affect your consultation quota.
- If you need detailed automatic handling such as break times or holidays, you can keep consultation hours open 24 hours and handle it with your own auto-response strategy (a bot, an AI agent, and so on). This is an auto-response, not the consultation hours feature.
Reply messages sent by an auto-response strategy use the consultation quota exactly as an agent's consultation does. Keep this in mind when you replace the outside-hours notice with auto-responses.
Chat feature toggle
Turns the consultation chat feature on or off.
POST /api/agent/channel/chat
| Field | Type | Required | Description |
|---|---|---|---|
brandKey | string | ✅ | Brand key |
active | boolean | ✅ | Enabled / disabled |
Inbound domain
GET /api/agent/channel/domain?brand=mybrand
POST /api/agent/channel/domain
| Field | Type | Required | Description |
|---|---|---|---|
brandKey | string | ✅ | Brand key |
domain | string | ✅ | Inbound domain |
Changing the inbound domain changes the channel's actual inbound path. In a setup that uses the bypass Gateway, do not change this value arbitrarily — inbound consultations may stop arriving.
Consultation start message
Adds your brand introduction to the notice shown in the chat room when a customer starts a consultation (Kakao channels only). The following notice is always appended below your text, separated by one blank line. The notice cannot be changed.
{your text}
채팅 내용은 상담 품질 관리를 위해 (주)블룸에이아이에 저장됩니다. 상담을 시작하려면 메시지를 입력해주세요. 채팅을 원치 않으시면 "!종료"를 입력해주세요.
(Meaning: chat content is stored by (주)블룸에이아이 for consultation quality management; type a message to start the consultation, or type "!종료" to end the chat.)
- Submitting also requests Kakao's review in the same call. Once approved, the message applies to consultations started afterwards; until then, the previous message stays in effect.
- There is no webhook for the review result. Check the status with the read API.
- If the latest submission has not been approved yet (registered, in review, or rejected), submitting again updates that submission, and you can delete it with the delete API. An approved message cannot be updated or deleted — submit a new one to change it.
- Submitting, updating, and deleting are limited to 5 times per channel per day (counted from 00:00 Korea time). Requests rejected by input validation, and requests with nothing to do because the same text is already in review or in effect, are not counted.
- Reading requires BrandRead; submitting and deleting require BrandWrite. Delegated (assistant agent) keys cannot submit or delete.
Read
GET /api/agent/sysmsg/start?brand=mybrand
{
"ok": true,
"code": "0",
"applied": { "id": 8700, "status": "approved", "header": "Welcome to Bloom Support.", "content": "…", "requestedAt": "2026-10-20 10:00:00", "inspectedAt": "2026-10-21 11:00:00", "rejectReason": null },
"latest": { "id": 8710, "status": "in_review", "header": "Welcome to Bloom Support. Weekdays 9:00–18:00", "content": "…", "requestedAt": "2026-10-26 20:15:27", "inspectedAt": null, "rejectReason": null },
"usage": { "today": 1, "dailyLimit": 5 }
}
| Field | Description |
|---|---|
applied | The approved message currently shown to customers. null if none (Kakao's default message is shown) |
latest | The most recent submission. If approved, it is the same entry as applied |
status | registered · in_review · approved · rejected |
header | The text you submitted. null if the message was not submitted through this API |
content | The full message registered with Kakao. The company name appears as #{위탁사명} and is replaced with the company name on the customer's screen |
rejectReason | Reason for rejection (when rejected) |
usage | Count used today and the daily limit |
Submit · Update
POST /api/agent/sysmsg/start
| Field | Type | Required | Description |
|---|---|---|---|
brandKey | string | ✅ | Brand key |
header | string | ✅ | Brand introduction (line breaks allowed, up to 413 characters) |
curl -X POST https://api.talkbridge.io/api/agent/sysmsg/start \
-H "Authorization: Bearer blumnb-..." -H "Content-Type: application/json" \
-d '{ "brandKey": "mybrand", "header": "Welcome to Bloom Support. Weekdays 9:00–18:00" }'
{ "ok": true, "code": "0", "action": "submit", "id": 8710, "status": "in_review",
"message": "상담 시작 문구를 카카오 검수에 올렸어요. 승인되면 새 상담부터 적용돼요.",
"usage": { "today": 1, "dailyLimit": 5 } }
actionis one ofsubmit(new submission),update(updated the latest unapproved submission), ornone(the same text is already in review or in effect;code=UNCHANGED).
Delete
Deletes the latest submission that has not been approved yet. If it is in review, the review request is canceled first.
POST /api/agent/sysmsg/start/delete
| Field | Type | Required | Description |
|---|---|---|---|
brandKey | string | ✅ | Brand key |
Failure responses
| HTTP | code | Meaning |
|---|---|---|
| 400 | EMPTY | header is empty |
| 400 | TOO_LONG | header exceeds 413 characters |
| 400 | UNSUPPORTED_CHANNEL | Not a Kakao channel |
| 409 | NOTHING_TO_DELETE | No unapproved submission to delete |
| 429 | DAILY_LIMIT | Today's limit (5) is used up — try again the next day |
| 502 | Kakao result code | Kakao could not process the request — follow the guidance in message. It counts toward the limit |
Sender profile · System messages (read)
GET /api/agent/profile?brand=mybrand
GET /api/agent/sysmsg?brand=mybrand
These return the sender profile and the registered system messages, respectively. The response data contains Kakao's original format.
Like the other APIs, reads need a key with the BrandRead scope.
curl https://api.talkbridge.io/api/agent/profile?brand=mybrand \
-H "Authorization: Bearer blumnb-..."
curl https://api.talkbridge.io/api/agent/sysmsg?brand=mybrand \
-H "Authorization: Bearer blumnb-..."