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

Update Transfer Rule

Replace an existing transfer rule on the named receptionist. Send every field: an omitted post_dial_digits clears it.

パスパラメータ

agent_idstring必須
rule_idstring必須

ヘッダー

xi-api-keystringオプション
xi-workspace-idstring or nullオプション
The customer workspace a reseller's API key acts on.

リクエスト

This endpoint expects an object.
labelstring必須
Name of the transfer destination, e.g. 'Alvin' or 'Billing team'.
phone_numberstring必須
Number to transfer to. Without a country code it is dialed locally in the business's country, so include the country code for a number abroad.
conditionstring必須

What the caller does that triggers the transfer, e.g. ‘The caller asks to speak to a human or to Alvin’. Describe only the trigger; do not restate the phone number or the word ‘transfer’.

post_dial_digitsstring or nullオプション形式: "^[0-9*#wW]*$"1-50 characters

DTMF digits automatically played after the transfer destination picks up (e.g. ‘1’ to answer a ‘press 1 to accept’ screen, or ‘www1234’ to key an extension after a pause). Valid characters are 0-9, *, #, w (0.5s pause) and W (1s pause). Twilio transfers only.

レスポンス

成功レスポンス。

labelstring
Name of the transfer destination, e.g. 'Alvin' or 'Billing team'.
phone_numberstring
Number to transfer to. Without a country code it is dialed locally in the business's country, so include the country code for a number abroad.
conditionstring

What the caller does that triggers the transfer, e.g. ‘The caller asks to speak to a human or to Alvin’. Describe only the trigger; do not restate the phone number or the word ‘transfer’.

post_dial_digitsstring or nullオプション形式: "^[0-9*#wW]*$"1-50 characters

DTMF digits automatically played after the transfer destination picks up (e.g. ‘1’ to answer a ‘press 1 to accept’ screen, or ‘www1234’ to key an extension after a pause). Valid characters are 0-9, *, #, w (0.5s pause) and W (1s pause). Twilio transfers only.

idstringオプション
created_at_unixintegerオプション

Unix timestamp (seconds since epoch)

エラー

422
Unprocessable Entity Error