Create
Use this endpoint for the Recordings method to initiate a Recording for a Call. You can use this endpoint to start recording a Call that is already in progress. If you want to record the entire Call, you can specify recording params during creation of the Call.
Path parameters
AccountSid
The Project ID that uniquely identifies the Account.
CallSid
The unique identifier for the call.
Request
RecordingChannels
The number of channels in the recording. Can be `mono` (both legs of call recorded under one channel into one recording file) or `dual` (each leg of call recorded in separate channels into one recording file). Default is `mono`.
Allowed values:
RecordingStatusCallback
The URL to request to when recording is available. See the [Recording status callback](/docs/compatibility-api/rest/recordings/webhooks/recording-status-callback) webhook for the payload your URL will receive.
RecordingStatusCallbackEvent
The different recording statuses. To specify multiple events, separate with a space. Valid values: completed, in-progress, absent. Default is `completed`.
RecordingStatusCallbackMethod
Whether the request to `RecordingStatusCallback` URL is a `GET` or a `POST`. Default is `POST`.
Allowed values:
RecordingTrack
Specifies whether to record the `inbound` audio to SignalWire from the called party or the `outbound` audio from SignalWire to the called party or `both` the inbound and outbound audio. Default is `both`.
Allowed values:
Trim
Whether leading and trailing silence is trimmed from a recording. Default is `do-not-trim`.
Allowed values:
Response
sid
The unique identifier for the recording.
account_sid
The unique identifier for the account that is associated with this recording.
api_version
The version of the SignalWire API.
call_sid
The unique identifier for the call that is associated with this recording. Null if this is a conference recording.
conference_sid
The unique identifier for the conference that is associated with this recording. Null if this is a call recording.
channel
The number of channels in a recording (singular key). Returns '1' for mono or '2' for stereo.
Allowed values:
channels
The number of channels in a recording. Returns '1' for mono or '2' for stereo.
Allowed values:
date_created
The date, in RFC 2822 format, this recording was created.
date_updated
The date, in RFC 2822 format, this recording was updated.
start_time
The time, in RFC 2822 format, this recording started.
end_time
The time, in RFC 2822 format, this recording ended.
duration
The length, in seconds, of the recording.
price
The cost for the recording.
price_unit
The currency of the price of the recording.
source
How the recording was made.
status
The status of the recording.
error_code
Further details about a failed recording.
uri
The URI of the recording.
subresource_uris
Subresource URIs.
encryption_details
Encryption details. Always null.
trim
Whether leading and trailing silence is trimmed from a recording.