Skip to main content

Update a LINE chat channel (JSON Merge Patch).

PATCH/api/v1/chat-channels/{chat_channel_id}chat_channels:write

Changes the channel's display name, Oliver agent, match feedback target, forwarding policy, enabled flag, permission mode, tool override and attachment folders. The LINE route follows the enabled flag. Needs Edit Chat Channels. A staff-only field cannot be set on an external_customer channel. A progressive agent cannot answer on a channel: it is refused as an agent that does not exist. The full response also requires View Chat Channels; otherwise the response is a write receipt. Health is null without View Connector Diagnostics.

Version 2026-12-01. A full response needs view_chat_channels and view_connector_diagnostics; otherwise the response is a write receipt. health is always present in a full response.

Scopechat_channels:write (sensitive)
AsynchronousNo
MCP toolupdate_chat_channel
Portal permissionsedit_chat_channels

Parameters​

NameInTypeRequiredDescription
chat_channel_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
If-MatchheaderstringOptional

Request body​

Content typeType
application/jsonChatChannelPatchInput
application/merge-patch+jsonChatChannelPatchInput

Responses​

StatusDescriptionBody
200Success.application/json ChatChannel or object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
409conflictapplication/problem+json Problem
412precondition_failedapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

ChatChannel​

FieldTypeRequiredDescription
allowed_tools_overridearray of stringRequired
audience_scopestringRequiredinternal_rep or external_customer (open).
channel_identifierstringRequired
chat_channel_idstringRequired
customer_forwarding_policystring or nullRequired
display_namestring or nullRequired
enabledbooleanRequired
folder_idstring or nullRequiredThe folder that receives sent files.
has_credentialsbooleanRequiredWhether the channel's credentials are held in the managed store.
healthChatChannelHealth or nullRequiredNull without View Connector Diagnostics.
match_feedback_targetobjectRequired
oliver_agent_idstring or nullRequiredThe Oliver agent that answers on this channel.
parent_folder_idstring or nullRequiredThe parent of each person's private intake folder.
permission_modestringRequiredask or auto.
provisioning_statestringRequired

ChatChannelHealth​

FieldTypeRequiredDescription
blocked_user_countintegerRequired≥ -2147483648; ≤ 2147483647
failed_delivery_countintegerRequired≥ -2147483648; ≤ 2147483647
last_inbound_atstring (date-time) or nullRequired
last_sent_atstring (date-time) or nullRequired
linked_user_countintegerRequired≥ -2147483648; ≤ 2147483647
pending_delivery_countintegerRequired≥ -2147483648; ≤ 2147483647

ChatChannelPatchInput​

FieldTypeRequiredDescription
allowed_tools_overridearray of string or nullOptional
audience_scopestring or nullOptional
channel_identifierstring or nullOptional
chat_channel_idstring or nullOptional
customer_forwarding_policystring or nullOptional
display_namestring or nullOptional
enabledboolean or nullOptional
folder_idstring or nullOptional
has_credentialsboolean or nullOptional
match_feedback_targetobject or nullOptional
oliver_agent_idstring or nullOptional
parent_folder_idstring or nullOptional
permission_modestring or nullOptional
provisioning_statestring or nullOptional