I had to change the following line: var nexmo = require('nexmo').Nexmo({key: 'your-key', secret: 'your-secret'}); to var nexmo = require('node-nexmo-api').Nexmo({key: 'your-key', secret: 'your-secret'});