ナビゲーションにスキップ

Add Procedure

Add a procedure (SOP) to the named receptionist.

パスパラメータ

agent_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