Vai alla navigazione

Update Transfer Rule

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

Parametri di percorso

agent_idstringObbligatorio
rule_idstringObbligatorio

Header

xi-api-keystringOpzionale
xi-workspace-idstring or nullOpzionale
The customer workspace a reseller's API key acts on.

Richiesta

This endpoint expects an object.
labelstringObbligatorio
Name of the transfer destination, e.g. 'Alvin' or 'Billing team'.
phone_numberstringObbligatorio
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.
conditionstringObbligatorio

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 nullOpzionaleformat: "^[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.

Risposta

Risposta riuscita
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 nullOpzionaleformat: "^[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.

idstringOpzionale
created_at_unixintegerOpzionale

Unix timestamp (seconds since epoch)

Errori

422
Unprocessable Entity Error