Create a recording for the call
POST
/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Recordings.json https://api.twilio.com
Create a recording for the call
Parameters
Request Body
application/x-www-form-urlencoded
{
RecordingStatusCallbackEvent?: string[];
RecordingStatusCallback?: string;
RecordingStatusCallbackMethod?: "GET" | "POST";
Trim?: string;
RecordingChannels?: string;
RecordingTrack?: string;
}
RecordingStatusCallbackEvent?: string[];
RecordingStatusCallback?: string;
RecordingStatusCallbackMethod?: "GET" | "POST";
Trim?: string;
RecordingChannels?: string;
RecordingTrack?: 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 ;
channels?: number;
source?:CallRecordingEnumSource ;
error_code?: number | null;
track?: string | null;
}
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?:
channels?: number;
source?:
error_code?: number | null;
track?: string | null;
}
201 application/json
Created
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 ;
channels?: number;
source?:CallRecordingEnumSource ;
error_code?: number | null;
track?: string | null;
}
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?:
channels?: number;
source?:
error_code?: number | null;
track?: string | null;
}