Skip to main content

CreateAnsweringRuleRequest

Properties

NameTypeRequiredDescription
type_strType of an answering rule. The 'Custom' value should be specified
namestrName of an answering rule specified by user
enabledboolSpecifies if the rule is active or inactive. The default value is true
callersList[CallersInfoRequest]Answering rule will be applied when calls are received from the specified caller(s)
called_numbersList[CalledNumberInfo]Answering rules are applied when calling to selected number(s)
scheduleScheduleInfoSchedule when an answering rule should be applied
call_handling_actionCreateAnsweringRuleRequestCallHandlingActionSpecifies how incoming calls are forwarded
forwardingForwardingInfoForwarding parameters. Returned if 'ForwardCalls' is specified in 'callHandlingAction'. These settings determine the forwarding numbers to which the call will be forwarded
unconditional_forwardingUnconditionalForwardingInfoUnconditional forwarding parameters. Returned if 'UnconditionalForwarding' value is specified for the callHandlingAction parameter
queueQueueInfoQueue settings applied for department (call queue) extension type, with the 'AgentQueue' value specified as a call handling action
transferTransferredExtensionInfo
voicemailVoicemailInfoSpecifies whether to take a voicemail and who should do it
missed_callMissedCallInfoSpecifies behavior for the missed call scenario. Returned only if enabled parameter of a voicemail is set to 'false'
greetingsList[GreetingInfo]Greetings applied for an answering rule; only predefined greetings can be applied, see Dictionary Greeting List
screeningCreateAnsweringRuleRequestScreeningCall screening status. 'Off' - no call screening; 'NoCallerId' - if caller ID is missing, then callers are asked to say their name before connecting; 'UnknownCallerId' - if caller ID is not in contact list, then callers are asked to say their name before connecting; 'Always' - the callers are always asked to say their name before connecting. The default value is 'Off'

CreateAnsweringRuleRequestCallHandlingAction

Specifies how incoming calls are forwarded

Properties

NameTypeRequiredDescription
FORWARDCALLSstr"ForwardCalls"
UNCONDITIONALFORWARDINGstr"UnconditionalForwarding"
AGENTQUEUEstr"AgentQueue"
TRANSFERTOEXTENSIONstr"TransferToExtension"
TAKEMESSAGESONLYstr"TakeMessagesOnly"
PLAYANNOUNCEMENTONLYstr"PlayAnnouncementOnly"
SHAREDLINESstr"SharedLines"

CreateAnsweringRuleRequestScreening

Call screening status. 'Off' - no call screening; 'NoCallerId' - if caller ID is missing, then callers are asked to say their name before connecting; 'UnknownCallerId' - if caller ID is not in contact list, then callers are asked to say their name before connecting; 'Always' - the callers are always asked to say their name before connecting. The default value is 'Off'

Properties

NameTypeRequiredDescription
OFFstr"Off"
NOCALLERIDstr"NoCallerId"
UNKNOWNCALLERIDstr"UnknownCallerId"
ALWAYSstr"Always"

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →