跳到导航

更新接待员

更新接待员的显示名称、配置和/或小组件外观。

路径参数

agent_idstring必需

接待员 ID。可使用 GET /v1/reception/customer-facing-agents 列出。

请求头

xi-api-keystring可选
xi-workspace-idstring必需

经销商 API 密钥操作的客户工作区。

请求

This endpoint expects an object.
configobject or null可选

要更改的接待员设置;省略的设置将保留原值。

namestring or null可选
New display name for the receptionist.
widgetobject or null可选
New website widget appearance.

响应

成功响应

is_activeboolean只读

接待员是否启用。停用的接待员不接听实时来电。

agent_idstring可选默认为

此接待员背后的 ElevenLabs 智能体 ID。

configobject可选

接待员的音色、语言、问候语、规则及其他设置。

deactivated_at_unixinteger or null可选

此接待员停用时的 Unix 时间戳。处于活跃状态时为 None。

deactivation_reasonenum or null可选

该接待员被停用的原因。启用时为 None。

允许的值:
namestring可选默认为 Receptionist

接待员的显示名称。

agent_existsboolean可选默认为 true

接待员的底层智能体被删除时为 False;重新设置前无法接听电话。

is_transfer_allowedboolean可选默认为 false

该接待员是否可以配置和使用转接规则。

widgetobject or null可选

网站小组件的外观。智能体缺失时为 null。未设置的标签使用接待员的语言。

错误

422
Unprocessable Entity Error