跳到导航

Update Procedure

Replace an existing procedure on the named receptionist. Send every field: an omitted body resets to empty.

路径参数

agent_idstring必需
procedure_idstring必需

请求头

xi-api-keystring可选
xi-workspace-idstring or null可选
The customer workspace a reseller's API key acts on.

请求

This endpoint expects an object.
namestring必需
Name of the procedure.
triggerstring必需
When the receptionist should run the procedure, in natural language. The receptionist matches caller requests against it, e.g. 'When the caller wants to book an appointment'.
bodystring可选<=40000 characters默认为

Step-by-step instructions, as markdown.

响应

成功响应

namestring
Name of the procedure.
triggerstring
When the receptionist should run the procedure, in natural language. The receptionist matches caller requests against it, e.g. 'When the caller wants to book an appointment'.
bodystring可选<=40000 characters默认为

Step-by-step instructions, as markdown.

idstring可选
created_at_unixinteger可选

Unix timestamp (seconds since epoch)

source_keystring or null可选

错误

422
Unprocessable Entity Error