1. Vonage Learn
  2. Courses
  3. Onehack
  4. Vonage Apis
  5. Receiving Calls Nccos

Receiving Calls & Using NCCOs

Learn how to use the Vonage Server SDK for Node.js to send and receive SMS Messages & Voice Calls

NCCO Reference from the Vonage API Developer Platform.

let express = require('express');
let bodyParser = require('body-parser');
let app = express();
app.use(bodyParser.json());

app.post('/answer', function(req, res) {
    console.log(req.body);
    res.send('ok');
});

app.post('/event', function(req, res) {
    res.send('ok');
});

app.listen(3000);

Need help? Have questions? Join the Vonage Developer Community Slack and use the channel #onehack.