Request
This endpoint expects an object.
RecordingChannelsenumOptionalDefaults to mono
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.
RecordingStatusCallbackstringOptionalformat: "uri"
The URL to request to when recording is available. See the Recording status callback webhook for the payload your URL will receive.
RecordingStatusCallbackEventstringOptionalDefaults to completed
The different recording statuses. To specify multiple events, separate with a space. Valid values: completed, in-progress, absent. Default is completed.
RecordingStatusCallbackMethodenumOptionalDefaults to POST
Whether the request to RecordingStatusCallback URL is a GET or a POST. Default is POST.
RecordingTrackenumOptionalDefaults to both
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.
TrimenumOptionalDefaults to do-not-trim
Whether leading and trailing silence is trimmed from a recording. Default is do-not-trim.
Response
The request has succeeded.
sidstringformat: "uuid"
The unique identifier for the recording.
account_sidstringformat: "uuid"
The unique identifier for the account that is associated with this recording.
api_versionstring
The version of the SignalWire API.
call_sidstring or nullformat: "uuid"
The unique identifier for the call that is associated with this recording. Null if this is a conference recording.
conference_sidstring or nullformat: "uuid"
The unique identifier for the conference that is associated with this recording. Null if this is a call recording.
channelenum
The number of channels in a recording (singular key). Returns ‘1’ for mono or ‘2’ for stereo.
channelsenum
The number of channels in a recording. Returns '1' for mono or '2' for stereo.
date_createdstring
The date, in RFC 2822 format, this recording was created.
date_updatedstring
The date, in RFC 2822 format, this recording was updated.
start_timestring or null
The time, in RFC 2822 format, this recording started.
end_timestring or null
The time, in RFC 2822 format, this recording ended.
durationinteger
The length, in seconds, of the recording.
pricestring or null
The cost for the recording.
price_unitstring
The currency of the price of the recording.
sourceenum
How the recording was made.
statusenum
The status of the recording.
error_codestring or null
Further details about a failed recording.
uristring
The URI of the recording.
subresource_urisobject
Subresource URIs.
encryption_detailsstring or null
Encryption details. Always null.
trimstring
Whether leading and trailing silence is trimmed from a recording.