import { SyllableSDK } from "syllable-sdk";
const syllableSDK = new SyllableSDK({
apiKeyHeader: process.env["SYLLABLESDK_API_KEY_HEADER"] ?? "",
});
async function run() {
const result = await syllableSDK.sessions.generateSessionRecordingUrls({
sessionId: "<id>",
});
console.log(result);
}
run();{
"session_id": 1,
"recordings": [
"https://example.com/recording1.mp3",
"https://example.com/recording2.mp3"
]
}import { SyllableSDK } from "syllable-sdk";
const syllableSDK = new SyllableSDK({
apiKeyHeader: process.env["SYLLABLESDK_API_KEY_HEADER"] ?? "",
});
async function run() {
const result = await syllableSDK.sessions.generateSessionRecordingUrls({
sessionId: "<id>",
});
console.log(result);
}
run();{
"session_id": 1,
"recordings": [
"https://example.com/recording1.mp3",
"https://example.com/recording2.mp3"
]
}