企业微信(WeCom)-连接微信 icon

企业微信(WeCom)-连接微信

企业微信连接微信功能 - 微信客服、客户联系、家校应用、政民沟通

Actions172

微信客服 → [会话与消息] 分配客服会话

AI-generated

Summary

Changes a WeCom customer-service conversation to the selected service state for a specified customer and account. When assigning the conversation to a human agent, also specify an active agent who is currently receiving conversations.

Inputs

  • 客服账号 (open_kfid) (required) — Customer-service account for the conversation.
  • 客户 External UserID (external_userid) (required) — WeChat customer's external user ID.
  • 服务状态 (service_state) (required) — Target state: move to the pending queue (2), human service (3), or ended (4). Valid transitions depend on the current state; an ended conversation cannot be changed further.
  • 接待人员 (servicer_userid) (required) — Shown and required when the target state is human service (3). Select an activated agent who is currently receiving conversations. Third-party applications must use the encrypted UserID.

Output shape

A single API response record.

The operation changes conversation state in WeCom. The available response fields are determined by the API response.

Links

Discussion