Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

RingCentral Call Handling Rules API

The Call Handling Rules API from RingCentral — 5 operation(s) for call handling rules.

RingCentral Call Handling Rules API is one of 88 APIs that RingCentral publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Call Handling Rules. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 12 operations across 5 paths, and defines 62 schemas. It is described by OpenAPI 3.0.3, at version 1.0.58-20240529-47eda8bd.

Requests are made against 4 base URLs: https://platform.ringcentral.com, https://media.ringcentral.com, https://platform.devtest.ringcentral.com, https://platform.devtest.ringcentral.com.

12 operations 5 paths 62 schemas 2 DELETE5 GET1 PATCH2 POST2 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0.58-20240529-47eda8bd
Servers
https://platform.ringcentral.com
https://media.ringcentral.com
https://platform.devtest.ringcentral.com
https://platform.devtest.ringcentral.com
Authentication
OAuth 2.0
Terms of Service
Resource Areas
1

Authentication & Security 1

RingCentral Call Handling Rules API declares 1 security scheme for authenticating requests. It supports OAuth 2.0 (OAuth2) using the authorizationCode flow. By default, every request must be authenticated.

Paths & Operations 12

Across 5 paths, the API surfaces 12 operations — 2 DELETE, 5 GET, 1 PATCH, 2 POST, 2 PUT. Each is listed below with its method, path, parameters, and response codes.

Call Handling Rules 12
GET
/restapi/v1.0/account/{accountId}/answering-rule
List Company Call Handling Rules
listCompanyAnsweringRules 3 params → 200404500503
POST
/restapi/v1.0/account/{accountId}/answering-rule
Create Company Call Handling Rule
createCompanyAnsweringRule 1 param body → 200400404500503
GET
/restapi/v1.0/account/{accountId}/answering-rule/{ruleId}
Get Company Call Handling Rule
readCompanyAnsweringRule 2 params → 200404500503
PUT
/restapi/v1.0/account/{accountId}/answering-rule/{ruleId}
Update Company Call Handling Rule
updateCompanyAnsweringRule 2 params body → 200400404500503
DELETE
/restapi/v1.0/account/{accountId}/answering-rule/{ruleId}
Delete Company Call Handling Rule
deleteCompanyAnsweringRule 2 params → 204404500503
GET
/restapi/v1.0/account/{accountId}/forward-all-calls
Get Forward All Company Calls
getForwardAllCompanyCalls 1 param → 200404500503
PATCH
/restapi/v1.0/account/{accountId}/forward-all-calls
Update Forward All Company Calls
updateForwardAllCompanyCalls 1 param body → 200400404500503
GET
/restapi/v1.0/account/{accountId}/extension/{extensionId}/answering-rule
List Call Handling Rules
listAnsweringRules 7 params → 200400404500503
POST
/restapi/v1.0/account/{accountId}/extension/{extensionId}/answering-rule
Create Call Handling Rule
createAnsweringRule 2 params body → 200400404500503
GET
/restapi/v1.0/account/{accountId}/extension/{extensionId}/answering-rule/{ruleId}
Get Call Handling Rule
readAnsweringRule 4 params → 200400404500503
PUT
/restapi/v1.0/account/{accountId}/extension/{extensionId}/answering-rule/{ruleId}
Update Call Handling Rule
updateAnsweringRule 3 params body → 200400404500503
DELETE
/restapi/v1.0/account/{accountId}/extension/{extensionId}/answering-rule/{ruleId}
Delete Call Handling Rule
deleteAnsweringRule 3 params → 204404500503

Schemas 62

The contract defines 62 schemas that model the data the API accepts and returns. The most detailed are AnsweringRuleInfo (18 properties), UpdateAnsweringRuleRequest (17 properties), CustomAnsweringRuleInfo (17 properties), CreateAnsweringRuleRequest (15 properties). Each schema is shown below with its type and property counts.

CreateAnsweringRuleForwardingNumberInfo
object
5 properties
IvrCallHandlingActionEnum
string
Specifies how incoming calls are forwarded. The default value is 'Operator' 'Operator' - play company greeting and forward to operator extension 'Disconnect' -…
CompanyAnsweringRuleExtensionInfoRequest
object
Extension to which the call is forwarded in 'Bypass' mode
1 property
SharedLinesInfo
object
SharedLines call handling action settings
1 property
CompanyAnsweringRuleCalledNumberInfoRequest
object
2 properties
ScheduleInfo
object
Schedule when an answering rule should be applied
3 properties
VoicemailInfo
object
Specifies whether to take a voicemail and who should do it
2 properties
CompanyAnsweringRuleRequest
object
9 properties
CompanyAnsweringRuleCallersInfoRequest
object
2 properties
ApiErrorWithParameter
The error model with additional attributes which can be used for HTTP 400/409 This is a deprecated model: "ApiError" model can be used instead with arbitrary a…
CompanyAnsweringRuleUpdate
object
9 properties
FixedOrderAgents
object
2 properties
UnconditionalForwardingInfo
object
Unconditional forwarding parameters. Returned if 'UnconditionalForwarding' value is specified for the callHandlingAction parameter
2 properties
ApiError
object
Generalized API error structure suitable for any error type
2 properties 2 required
MissedCallExtensionInfo
object
Specifies an extension (a calling group) which should be used for the missed call transfer. Returned only if the actionType is set to 'ConnectToExtension'
2 properties
CalledNumberInfo
object
1 property
PageNavigationUri
object
1 property
EnumeratedPagingModel
object
6 properties 1 required
ApiErrorResponseModel
object
Standard error response model which is returned in case of any unsuccessful operation
1 property 1 required
WeeklyScheduleInfo
object
Weekly schedule
7 properties
MissedCallInfo
object
Specifies behavior for the missed call scenario. Returned only if enabled parameter of a voicemail is set to 'false'
2 properties
ForwardingRuleCreateRequest
object
4 properties
CompanyAnsweringRuleExtensionInfo
object
1 property
CallersInfoRequest
object
2 properties
PageNavigationModel
object
Links to other pages of the current result set
4 properties
ForwardingInfo
object
Forwarding parameters. Returned if 'ForwardCalls' is specified in 'callHandlingAction'. These settings determine the forwarding numbers to which the call will…
8 properties
ForwardingNumberInfoRulesCreateRuleRequest
object
4 properties
AnsweringRuleInfo
object
18 properties
CompanyAnsweringRuleScheduleInfoRequest
object
Schedule when an answering rule should be applied
3 properties
RangesInfo
object
2 properties
GreetingTypeEnum
string
Type of greeting, specifying the case when the greeting is played.
ListCompanyAnsweringRuleInfo
object
7 properties
TimeInterval
object
2 properties
ParameterizedErrorResponseModel
object
Standard error response which may include parameterized errors
1 property 1 required
ForwardAllCompanyCallsInfo
object
5 properties
TransferredExtensionInfo
object
1 property
ForwardAllCompanyCallsRequest
object
1 property 1 required
CompanyAnsweringRuleList
object
4 properties
QueueInfo
object
Queue settings applied for department (call queue) extension type, with the 'AgentQueue' value specified as a call handling action
13 properties
RecipientInfo
object
Recipient data
2 properties
ForwardAllCallsReason
object
2 properties
CompanyAnsweringRuleInfo
object
11 properties
FixedOrderAgentsExtensionInfo
object
4 properties
MissedCallExtensionInfoExternalNumber
object
Specifies an external PSTN number which should be used for the missed call transfer. Returned only if the actionType is set to ConnectToExternalNumber
1 property
TransferExtensionInfo
UpdateAnsweringRuleRequest
object
17 properties
CreateAnsweringRuleRequest
object
15 properties 2 required
CompanyAnsweringRuleCalledNumberInfo
object
2 properties
CustomGreetingInfoRequest
object
1 property
GreetingInfo
object
3 properties
CompanyAnsweringRuleWeeklyScheduleInfoRequest
object
Weekly schedule. If specified, ranges cannot be specified
7 properties
CompanyAnsweringRuleTimeIntervalRequest
object
2 properties
UserAnsweringRuleList
object
4 properties
ForwardingInfoCreateRuleRequest
object
Forwarding parameters. Returned if 'ForwardCalls' is specified in 'callHandlingAction'. These settings determine the forwarding numbers to which the call will…
7 properties
TransferredExtension
object
Transfer extension settings, set/returned if callHandlingAction is specified as TransferToExtension
2 properties
CustomAnsweringRuleInfo
object
17 properties
CompanyAnsweringRuleScheduleInfo
object
Schedule when an answering rule should be applied
3 properties
CallersInfo
object
2 properties
ExtensionShortInfoResource
object
3 properties
ForwardingRuleInfo
object
4 properties
PresetInfo
object
3 properties
TransferInfo
object
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

ringcentral-call-handling-rules-api-openapi.yml Raw ↑

Other APIs RingCentral publishes across the network.

RingCentral SMS API
RingCentral Team Messaging API
RingCentral Video API
RingCentral Fax API
RingCentral Data API
RingCentral Audio and Video AI API
RingCentral Call Log API
RingCentral Call Analytics API
RingCentral Presence API
RingCentral Voicemail API
RingCentral Provisioning API
RingCentral Webhooks and Subscriptions API