This page is for Server SDKs.
List recordings in the project.
Response
linksobjectRequired
Pagination links.
datalist of objectsRequired
List of recordings.
Response Example
Response
{"links": {"self": "string","first": "string","next": "string","prev": "string"},"data": [{"byte_size": 10,"created_at": "2024-01-15T09:30:00Z","duration_in_seconds": 2,"error_code": "string","id": "d369a402-7b43-4512-8735-9d5e1f387814","price": 0.05,"price_unit": "USD","project_id": "d369a402-7b43-4512-8735-9d5e1f387814","relay_conference_id": "0089cc48-4f98-4a6b-90d8-61f8a5d1b0e3","relay_pstn_leg_id": "string","status": "finished","stereo": false,"track": "inbound","updated_at": "2024-01-15T09:30:00Z","url": "/api/relay/rest/recordings/d3444402-7b43-4512-8735-9d5e1f387814"}]}
Example
import { RestClient } from "@signalwire/sdk";const client = new RestClient({project: "your-project-id",token: "your-api-token",host: "your-space.signalwire.com"});const result = await client.recordings.list({ page_size: 20 });for (const rec of result.data ?? []) {console.log(rec.id, rec.duration_in_seconds, rec.status);}