Update a Recording
Pause, resume or stop a Recording. You can control what happens while recording is paused (replace pause with silence or skip it).
#### Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: _Voice_.
[Learn more about API scopes](/docs/platform/your-signalwire-api-space).
Authentication
AuthorizationBasic
SignalWire Basic Authentication using Project ID and API Token.
The client sends HTTP requests with the Authorization header containing
the word Basic followed by a space and a base64-encoded string of project_id:token.
The project ID will be used as the username and the API token as the password.
Example:
```
Authorization: Basic base64(project_id:token)
```
Path parameters
AccountSid
The Project ID that uniquely identifies the Account.
CallSid
The unique identifier for the call.
Sid
The unique identifier for the call.
Request
This endpoint expects an object.
Status
The status of the recording.
Allowed values:
PauseBehavior
What to do while recording is paused. Default is silence.
Allowed values:
Response
The request has succeeded.
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.