Get recording

View as MarkdownOpen in Claude
Retrieves one voice call recording by ID. Use it after listing recordings or when a call event saved the recording identifier. Use Compatibility [Retrieve recording](/docs/compatibility-api/rest/recordings/retrieve-recording) for SID-based recording routes, or [Get room recording](/docs/apis/rest/video/room-recordings/get-room-recording) for video-room media. #### 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

idstringRequiredformat: "uuid"
Unique ID of the recording.

Response

Recording model. A recording is associated with exactly one source type (PSTN, SIP, WebRTC, or Relay conference).

PstnRecordingobject
Recording from a PSTN call leg.
OR
SipRecordingobject
Recording from a SIP call leg.
OR
WebRtcRecordingobject
Recording from a WebRTC call leg.
OR
ConferenceRecordingobject
Recording from a Relay conference.

Errors

401
Unauthorized Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error