---
title: "Update Forward All Company Calls"
method: PATCH
path: "/restapi/v1.0/account/{accountId}/forward-all-calls"
tags: ["Call Handling Rules"]
---

# Update Forward All Company Calls

`PATCH /restapi/v1.0/account/{accountId}/forward-all-calls`

Updates *Forward All Company Calls* feature setting.

## Path parameters

- `accountId` string, required

## Request body

- ForwardAllCompanyCallsRequest
  - `enabled` boolean, required — Indicates whether the *Forward All Company Calls* feature is enabled or disabled for an account

## Response `200`

Success

- ForwardAllCompanyCallsInfo
  - `enabled` boolean — Indicates whether the *Forward All Company Calls* feature is enabled or disabled for an account
  - `ranges` RangesInfo[] — Specific data ranges. If specified, weeklyRanges cannot be specified
    - `from` string, date-time — Beginning timestamp of the range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601), for example *2018-10-29T14:00:00*, *2018-10-29T14:00:00Z*, *2018-10-29T14:00:00+0100*
    - `to` string, date-time — Ending timestamp of the range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601), for example *2018-10-29T14:00:00*, *2018-10-29T14:00:00Z*, *2018-10-29T14:00:00+0100*
  - `callHandlingAction` 'Operator' | 'Disconnect' | 'Bypass' — 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']
  - `extension` ExtensionShortInfoResource
    - `id` string — Internal identifier of an extension
    - `name` string — Extension name
    - `extensionNumber` string — Extension number
  - `reason` ForwardAllCallsReason
    - `code` 'ExtensionLimitation' | 'FeatureLimitation' — Specifies the type of limitation. `ExtensionLimitation` means that the feature is turned off for this particular extension. `FeatureLimitation` means that the user may enable this feature and setup the rule via the Service Web UI
    - `message` string — Error message depending on the type of limitation

## Other responses

- `400` — General response with **HTTP 400 "Bad request"** status.<br> Reasons: unparsable request, path, query or body parameters are invalid. The error description may contain reference to particular parameter(s) which haven't passed the validation.
- `404` — General response with **HTTP 404 "Not found"** status.<br> Reasons: the entity with given ID (typically specified in a path parameter), is not found or inaccessible
- `500` — General response with **HTTP 500 "Internal Server Error"** status.<br> Reasons: general server-side error.
- `503` — General response with **HTTP 503 "Service not available"** status.<br> Reasons: server cannot process the request because of being overloaded, misconfiguration or other issues.

---

[API](https://skmtc.net/ringcentral/apis/ringcentral-api.md) · [All operations](https://skmtc.net/ringcentral/apis/ringcentral-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ringcentral/ringcentral-api/versions/8d602198ec97/schema)
