Skip to main content

v1 -> v2

Call(Recording) Transcriptions

The method names for recordings transcriptions have changed. Call recordings are now referred to as recording transcriptions.

Get Call(Recording) Transcription

const callId = 'c-abc12345-6defabc1-2345-6def-abc1-23456defabc1';
const recordingId = 'r-abc12345-6def-abc1-2345-6defabc12345';
const { status, data } = await recordingsApi.getRecordingTranscription(
BW_ACCOUNT_ID,
callId,
recordingId
);

Delete Call(Recording) Transcription

const callId = 'c-abc12345-6defabc1-2345-6def-abc1-23456defabc1';
const recordingId = 'r-abc12345-6def-abc1-2345-6defabc12345';
const { status } = await recordingsApi.deleteRecordingTranscription(
BW_ACCOUNT_ID,
callId,
recordingId
);

Real-Time Transcriptions

Real-time transcriptions have been added to the Ruby SDK.

List Real Time Transcriptions

const callId = 'c-abc12345-6defabc1-2345-6def-abc1-23456defabc1';
const { status, data } = await transcriptionsApi.listRealTimeTranscriptions(
BW_ACCOUNT_ID,
callId
);

Get Real Time Transcription

const callId = 'c-abc12345-6defabc1-2345-6def-abc1-23456defabc1';
const transcriptionId = 't-3f758f24-c7a2fc78-7c91-401a-8b2e-e542f9c40d6b';
const { status, data } = await transcriptionsApi.getRealTimeTranscription(
BW_ACCOUNT_ID,
callId,
transcriptionId
);

Delete Real Time Transcription

const callId = 'c-abc12345-6defabc1-2345-6def-abc1-23456defabc1';
const transcriptionId = 't-3f758f24-c7a2fc78-7c91-401a-8b2e-e542f9c40d6b';
const { status } = await transcriptionsApi.deleteRealTimeTranscription(
BW_ACCOUNT_ID,
callId,
transcriptionId
);