1. Vonage Learn
  2. Courses
  3. Onehack
  4. Vonage Apis
  5. Receiving Sms Messages

Receiving an SMS Message

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

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

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

app.listen(3000);

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