Code Monkey home page Code Monkey logo

vonage-node-code-snippets's Introduction

Vonage APIs Quickstart Examples for Node.JS

Quickstarts also available for: Python, .NET, Node.js, PHP, Ruby and cURL.

These code samples are meant to be used for https://developer.nexmo.com/, and are structured in such a way as to be used for internal testing. Developers are free to use these code snippets as a reference, but these may require changes to be worked into your specific application. We recommend checking out the Vonage API Developer Website, which displays these code snippets in a more copy/paste fashion.

Configure with Your Vonage API Keys

If you'd still like to use this sample you will first need a Vonage account. Once you have your own API credentials, rename the .env-example file to .env and set the values as required.

For some of the examples, you will need to buy a number.

Tutorials & Sample Code

SMS

Tutorial Code Sample
How to Send SMS Messages with Node.js and Express send-express.js
How to Receive SMS Messages with Node.js and Express receive-express.js
How to receive an SMS Delivery Receipt from a Mobile Carrier with Node.js dlr-express.js

Voice

Tutorial Code Sample
How to Make an Outbound Text-to-Speech Phone Call with Node.js make-calls.js
How to Handle Inbound Phone Calls with Node.js receive-call-webhook.js
How to Direct Inbound Phone Calls to an Endpoint with Failover with Node.js receive-call-webhook-failover.js
How to Record Audio from Incoming Calls with Node.js record-call.js
How to Make a Private Phone Call with Node.js proxy-call.js

Verify

Tutorial Code Sample
Two-Factor Authentication 2fa.js and UI code

Request More Examples

Please raise an issue to request an example that isn't present within the quickstart. Pull requests will be gratefully received.

Licenses

  • The code samples in this repo are under MIT

  • The tutorials contents are under Creative Commons, CC-BY-SA 4.0

    โ€‹

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.