Search + K

Command Palette

Search for a command to run...

Sign In

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.

POST /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Recordings/{Sid}.json
Copy endpoint
https://api.twilio.com

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

path Path Parameters

Name Type
AccountSid required

The SID of the Account that created the Recording resource to update.

`AC${string}`
CallSid required

The Call SID of the resource to update.

`CA${string}`
Sid required

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

string

Request Body

application/x-www-form-urlencoded
{ Status: CallRecordingEnumStatus

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.

type CallRecordingEnumStatus = "in-progress" | "paused" | "stopped" | "processing" | "completed" | "absent"
;PauseBehavior?: string; }

Responses

200 application/json

OK

interface ApiV2010AccountCallCallRecording {
account_sid?: `AC${string}` | null;
api_version?: string | null;
call_sid?: `CA${string}` | null;
conference_sid?: `CF${string}` | null;
date_created?: string | null;
date_updated?: string | null;
start_time?: string | null;
duration?: string | null;
sid?: `RE${string}` | null;
price?: number | null;
uri?: string | null;
encryption_details?: null;
price_unit?: string | null;
status?: CallRecordingEnumStatus

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.

type CallRecordingEnumStatus = "in-progress" | "paused" | "stopped" | "processing" | "completed" | "absent"
;
channels?: number;
source?: CallRecordingEnumSource

How the recording was created. Can be: DialVerb, Conference, OutboundAPI, Trunking, RecordVerb, StartCallRecordingAPI, and StartConferenceRecordingAPI.

type CallRecordingEnumSource = "DialVerb" | "Conference" | "OutboundAPI" | "Trunking" | "RecordVerb" | "StartCallRecordingAPI" | "StartConferenceRecordingAPI"
;
error_code?: number | null;
track?: string | null;
}