Skip to main content

CompanyAnsweringRuleRequest

Properties

NameTypeRequiredDescription
namestrName of an answering rule specified by user. Max number of symbols is 30. The default value is 'My Rule N' where 'N' is the first free number
enabledboolSpecifies if the rule is active or inactive. The default value is true
type_CompanyAnsweringRuleRequestTypeType of an answering rule, the default value is 'Custom' = ['BusinessHours', 'AfterHours', 'Custom']
callersList[CompanyAnsweringRuleCallersInfoRequest]Answering rule will be applied when calls are received from the specified caller(s)
called_numbersList[CompanyAnsweringRuleCalledNumberInfo]Answering rule will be applied when calling the specified number(s)
scheduleCompanyAnsweringRuleScheduleInfoRequestSchedule when an answering rule should be applied
call_handling_actionCompanyAnsweringRuleRequestCallHandlingActionSpecifies how incoming calls are forwarded. The default value is 'Operator' 'Operator' - play company greeting and forward to operator extension 'Disconnect' - play company greeting and disconnect 'Bypass' - bypass greeting to go to selected extension = ['Operator', 'Disconnect', 'Bypass']
extensionCompanyAnsweringRuleExtensionInfoRequestExtension to which the call is forwarded in 'Bypass' mode
greetingsList[GreetingInfo]Greetings applied for an answering rule; only predefined greetings can be applied, see Dictionary Greeting List

CompanyAnsweringRuleRequestType

Type of an answering rule, the default value is 'Custom' = ['BusinessHours', 'AfterHours', 'Custom']

Properties

NameTypeRequiredDescription
BUSINESSHOURSstr"BusinessHours"
AFTERHOURSstr"AfterHours"
CUSTOMstr"Custom"

CompanyAnsweringRuleRequestCallHandlingAction

Specifies how incoming calls are forwarded. The default value is 'Operator' 'Operator' - play company greeting and forward to operator extension 'Disconnect' - play company greeting and disconnect 'Bypass' - bypass greeting to go to selected extension = ['Operator', 'Disconnect', 'Bypass']

Properties

NameTypeRequiredDescription
OPERATORstr"Operator"
DISCONNECTstr"Disconnect"
BYPASSstr"Bypass"

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →