Recording status callback
Payload sent by SignalWire to your RecordingStatusCallback URL when a recording status event occurs.
Recordings are not always available immediately — especially at high call volumes. This callback lets your app react as soon as a recording is ready, whether that means uploading it to external storage, sending it via email, or forwarding the URL via SMS.
Configure RecordingStatusCallback when
creating a call via the API or when using
Dial,
Conference, or
Record.
Use RecordingStatusCallbackEvent to request callbacks for specific events. If omitted, only the
completed event is sent. Possible values: in-progress, paused, resumed, completed, absent.
SignalWire sends the parameters as a form-encoded (application/x-www-form-urlencoded) POST body, not as JSON.
When the callback method is GET, they are sent as query parameters instead.
Status callbacks are advisory, best-effort notifications — delivery can be delayed or fail silently, so don’t gate time-critical actions on receiving one. See Status callback reliability.
Payload
The status of the recording.
in-progress: Recording has begun.paused: Recording was paused. Call recordings only.resumed: Recording resumed after a pause. Call recordings only.completed: File is available.absent: Recording was too short or no audio was detected.
What started the recording.
RecordVerb: the<Record>verb.DialVerb: therecordattribute of<Dial>, including a<Dial>to a<Conference>.Queue: therecordattribute of a<Dial>to a<Queue>.StartCallRecordingAPI: a request to the REST API to start a call recording.Conference: a conference recording.
The parameter is always sent. Its value is empty for a recording started by Record=true when creating a call through the REST API.
Which audio track was recorded.
inbound: audio received by SignalWire.outbound: audio sent by SignalWire.both: both tracks.
Whether leading and trailing silence was trimmed from the recording: trim-silence or do-not-trim.
The parameter is always sent. Its value is empty when the recording has no trim setting, as for a conference recording.
A unique identifier for the recorded call. May be used to later retrieve this call from the REST API.
Present for call recordings; conference recordings send ConferenceSid instead.
A unique identifier for the recorded conference.
Present for conference recordings; call recordings send CallSid instead.
The duration, in seconds, of the recording. Only present when RecordingStatus is completed.