provider Api20100401CallRecording POST /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Recordings/{Sid}.json
@utdk/twilio /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Recordings/{Sid}.json
Changes the status of the recording to paused, stopped, or in-progress. Note: Pass `Twilio.CURRENT` instead of recording sid to reference current active recording.
Changes the status of the recording to paused, stopped, or in-progress. Note: Pass `Twilio.CURRENT` instead of recording sid to reference current active recording.
AccountSid path required
The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording resource to update.
string
CallSid path required
The [Call](https://www.twilio.com/docs/voice/api/call-resource) SID of the resource to update.
string
Sid path required
The Twilio-provided string that uniquely identifies the Recording resource to update.
string

Try it

Authentication
Configure credentials for Twilio - Api
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

updatecallrecording
POST/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Recordings/{Sid}.json
Changes the status of the recording to paused, stopped, or in-progress. Note: Pass `Twilio.CURRENT` instead of recording sid to reference current active recording.

Parameters

required

The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording resource to update.

required

The [Call](https://www.twilio.com/docs/voice/api/call-resource) SID of the resource to update.

required

The Twilio-provided string that uniquely identifies the Recording resource to update.

Input

required

The status of the recording. Can be: `processing`, `completed` and `absent`. For more detailed statuses on in-progress recordings, check out how to [Update a Recording Resource](https://www.twilio.com/docs/voice/api/recording#update-a-recording-resource).

Whether to record during a pause. Can be: `skip` or `silence` and the default is `silence`. `skip` does not record during the pause period, while `silence` will replace the actual audio of the call with silence during the pause period. This parameter only applies when setting `status` is set to `paused`.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import twilio from '@utdk/twilio';

await twilio.updatecallrecording()