Skip to content

FreeClimbAPI/Node-Play-Recording-How-To-Guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node - Play Recording How-To Guide

This project serves as a guide to help you build an application with FreeClimb. View this how-to guide on FreeClimb.com. Specifically, the project will:

  • Play a recording to a caller during a call.

Setting up your new app within your FreeClimb account

To get started using a FreeClimb account, follow the instructions here.

Setting up the how-to guide

  1. Install the node packages necessary using command:

    $ yarn install
  2. Configure environment variables (this how-to guide uses the dotenv package).

    ENV VARIABLE DESCRIPTION
    ACCOUNT_ID Account ID which can be found under API credentials in Dashboard
    API_KEY API key which can be found under API credentials in Dashboard
    APPLICATION_ID Appliction IDs can be found under Apps
  3. Provide a value for the variables to, from, and recordingUrl in playARecording.js. The to number is any phone number you wish to call. This number must be verified (for trial users) and in E.164 format. from is a FreeClimb number that makes the call (Incoming Numbers). recordingUrl is a url where FreeClimb can download a recording to play. The recording must be formatted correclty to work with FreeClimb. Recordings made by FreeClimb during other calls can be played by using the url provided in the recordings page.

Runnning the how-to guide

  1. Run the application using command:

    $ node playARecording.js

Getting help

If you are experiencing difficulties, contact support.

Releases

No releases published

Packages

No packages published