---
title: "Update Call Recording Extension List"
method: POST
path: "/restapi/v1.0/account/{accountId}/call-recording/bulk-assign"
tags: ["Call Recording Settings"]
---

# Update Call Recording Extension List

`POST /restapi/v1.0/account/{accountId}/call-recording/bulk-assign`

## Request

- Base URL: `https://platform.ringcentral.com`
- URL: `https://platform.ringcentral.com/restapi/v1.0/account/{accountId}/call-recording/bulk-assign`
- Auth: OAuth 2
  - Authorization code: `https://platform.ringcentral.com/restapi/oauth/authorize`
  - Token URL: `https://platform.ringcentral.com/restapi/oauth/token`
- TypeScript: <https://skmtc.dev/ringcentral/apis/ringcentral-api/docs/restapi/v1.0/account/:accountId/call-recording/bulk-assign/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates or updates the list of extensions to be recorded.

## Path parameters

- `accountId` string, required

## Request body

- BulkAccountCallRecordingsResource
  - `addedExtensions` CallRecordingExtensionResource[]
    - `id` string: Internal identifier of an extension
    - `uri` string, uri
    - `extensionNumber` string
    - `type` string
    - `callDirection` 'Outbound' | 'Inbound' | 'All': Direction of call
  - `updatedExtensions` CallRecordingExtensionResource[]
    - `id` string: Internal identifier of an extension
    - `uri` string, uri
    - `extensionNumber` string
    - `type` string
    - `callDirection` 'Outbound' | 'Inbound' | 'All': Direction of call
  - `removedExtensions` CallRecordingExtensionResource[]
    - `id` string: Internal identifier of an extension
    - `uri` string, uri
    - `extensionNumber` string
    - `type` string
    - `callDirection` 'Outbound' | 'Inbound' | 'All': Direction of call

## Response `204`

Successful response

## 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.dev/ringcentral/apis/ringcentral-api.md) - [All operations](https://skmtc.dev/ringcentral/apis/ringcentral-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ringcentral/apis/ringcentral-api/revisions/8d602198ec97?raw)
