Saltar a la navegación

Update Transfer Rule

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

Parámetros de ruta

agent_idstringRequerido
rule_idstringRequerido

Encabezados

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

Solicitud

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

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

Respuesta

Respuesta correcta.
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 nullOpcionalformat: "^[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.

idstringOpcional
created_at_unixintegerOpcional

Unix timestamp (seconds since epoch)

Errores

422
Unprocessable Entity Error