Skip to navigation

Update Transfer Rule

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

Path parameters

agent_idstringRequired

ID of the receptionist. List them with GET /v1/reception/customer-facing-agents.

rule_idstringRequired

ID of the transfer rule. Returned when you add one, and listed in the receptionist’s config.transfer_rules.

Headers

xi-api-keystringOptional
xi-workspace-idstringRequired
The customer workspace a reseller's API key acts on.

Request

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

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

Response

Successful Response
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 nullOptionalformat: "^[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.

idstringOptional
ID of the transfer rule.
created_at_unixintegerOptional
When the transfer rule was created, as a Unix timestamp in seconds.

Errors

422
Unprocessable Entity Error