Files
batch-speech-utils/example/readme.md
2024-06-19 15:17:29 -04:00

607 B

Usage

Requires node js 20+

Run the script with the following command-line arguments:

  • callId: The ID of the call to download.
  • date: The date of the call recording.
  • format: The format of the recording file (e.g., mp3).
node downloadAndRedact.js <callId> <date> <format>

#example
node example-jambones-api.js 8e9####b-f##8-4bdf-85a6-####### 2024/06/06 mp3

Environment Variables Setup

export ACCOUNT_SID=your_account_sid
export JAMBONZ_API_TOKEN=your_jambonz_api_token
export DEEPGRAM_API_KEY=your_deepgram_api_key
export TEMP_FOLDER=optional_temp_folder_path