ICYMI, we’ve been hard at work blogging tutorials about how to use the Nexmo SMS API to add programmable SMS to Node.js applications using Express. We explained how to:
- Send SMS messages virtually anywhere in the world.
- Implement a webhook endpoint to receive SMS messages.
- Get an SMS delivery receipt from a mobile carrier via Nexmo.
Vonage API Account
To complete this tutorial, you will need a Vonage API account. If you don’t have one already, you can sign up today and start building with free credit. Once you have an account, you can find your API Key and API Secret at the top of the Vonage API Dashboard.
This tutorial also uses a virtual phone number. To purchase one, go to Numbers > Buy Numbers and search for one that meets your needs.
Send SMS Messages with Node.js and Express
Over the course of a series of three tutorial blogs, Nexmo developer advocate Tomomi Imura outlines how to use the Nexmo SMS API. The first in her three-part series explains how to send SMS messages with Node.js and Express. There she describes her first-hand experience coding with these tools, what works, what does not work, and posts many instructive screenshots in the process.
Receive SMS Messages with Node.js and Express
In the second of her three Nexmo developer tutorial blogs, Tomomi tackles how to receive SMS messages with Node.js and Express. Using webhook callbacks and rented Nexmo virtual phone numbers she shows you how to receive inbound SMS messages. Slick!
Get an SMS Delivery Receipt with Node.js
Finally, to cap off a great set of three tutorials, Tomomi brings the messaging process full circle with her post on getting an SMS delivery receipt from a mobile carrier with Node.js. Because you need to know if your SMS has been delivered to the mobile handset. Otherwise, you’re just flying blind! So, Tomomi shows how to discover your SMS’s fate by registering a webhook callback made when its delivery status changes.
Nexmo APIs Quickstart Examples for Node.js
Or if you would like to cut to the chase, you can catch the tutorials and code samples for working with Nexmo APIs and Node.js all in one repository. Check the Nexmo node quickstart section of the Nexmo Community on GitHub. And if you don’t see what you need, feel free to request more examples.
Add SMS and Biometric Verification to iOS Apps
And just like you, we have major misgivings about privacy data breaches on mobile devices. So we’ve become part of the solution by writing another tutorial on how to use Swift and Nexmo Verify for iOS to establish two-factor authentication (2FA) layers by adding SMS and biometric verification to your iOS application. And we’ll have a 2FA demo soon. Stay tuned!
Chat with the Nexmo DevRel team @ForwardJS, ForwardSwift