Skip to main content


CallManager ⇐ APIClient

Use Fonoster CallManager, a capability of Fonoster CallManager, to initiate and monitor automated calls. Fonoster CallManager requires of a running Fonoster deployment.

Kind: global class
Extends: APIClient
See: module:core:APIClient

new CallManager()

Constructs a new CallManager Object.


const Fonoster = require("@fonoster/sdk")
const callManager = new Fonoster.CallManager(){
from: "9102104343",
to: "17853178070",
webhook: "https://",
.then(console.log) // successful response
.catch(console.error) // an error occurred ⇒ Promise.<CallResponse>

Call method.

Kind: instance method of CallManager
Returns: Promise.<CallResponse> - - call results

  • if the from number doesn't exist
  • if could not connect to the underline services
requestCallRequestCall request options
request.fromstringNumber you are calling from. You must have this Number configured in your account
request.tostringThe callee
request.webhookstringUrl of the application that will handle the call. If none is provided it will use the webook setup in the Number
request.ignoreE164ValidationstringIf enabled it will accept any input in the from and to

from: "+19102104343",
to: "+17853178070",
webhook: "",
metadata?: {}
.then(console.log) // successful response
.catch(console.error); // an error occurred