{"id":13404112,"url":"https://github.com/Vonage/vonage-node-code-snippets","last_synced_at":"2025-03-14T08:32:32.965Z","repository":{"id":38355596,"uuid":"62256593","full_name":"Vonage/vonage-node-code-snippets","owner":"Vonage","description":"NodeJS code examples for using Vonage","archived":false,"fork":false,"pushed_at":"2024-09-09T10:38:29.000Z","size":490,"stargazers_count":70,"open_issues_count":2,"forks_count":78,"subscribers_count":23,"default_branch":"main","last_synced_at":"2024-09-09T12:39:35.036Z","etag":null,"topics":["authentication","call","developer-destination","examples","nexmo-quickstart","nodejs","sms","verify","voice","vonage"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Vonage.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-06-29T20:42:39.000Z","updated_at":"2024-09-09T10:32:20.000Z","dependencies_parsed_at":"2024-05-05T03:20:32.159Z","dependency_job_id":"2e7f2472-427a-4d99-a85b-cf94f74fca50","html_url":"https://github.com/Vonage/vonage-node-code-snippets","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vonage%2Fvonage-node-code-snippets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vonage%2Fvonage-node-code-snippets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vonage%2Fvonage-node-code-snippets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vonage%2Fvonage-node-code-snippets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vonage","download_url":"https://codeload.github.com/Vonage/vonage-node-code-snippets/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221449580,"owners_count":16823621,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication","call","developer-destination","examples","nexmo-quickstart","nodejs","sms","verify","voice","vonage"],"created_at":"2024-07-30T19:01:39.191Z","updated_at":"2025-03-14T08:32:32.956Z","avatar_url":"https://github.com/Vonage.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","nodejs"],"sub_categories":[],"readme":"# Vonage APIs Quickstart Examples for Node.JS\n\n\u003cimg src=\"https://developer.nexmo.com/images/logos/vbc-logo.svg\" height=\"48px\"/\u003e\n\nQuickstarts also available for:\n[Python](https://github.com/Vonage/vonage-python-code-snippets),\n[.NET](https://github.com/Vonage/vonage-dotnet-code-snippets),\n[Node.js](https://github.com/Vonage/vonage-node-code-snippets),\n[PHP](https://github.com/Vonage/vonage-php-code-snippets),\n[Ruby](https://github.com/Vonage/vonage-ruby-code-snippets) and\n[cURL](https://github.com/Vonage/vonage-curl-code-snippets).\n\nThese code samples are meant to be used for\n[https://developer.nexmo.com/](https://developer.nexmo.com/), and are\nstructured in such a way as to be used for internal testing. Developers are\nfree to use these code snippets as a reference, but these may require changes\nto be worked into your specific application. We recommend checking out the\n[Vonage API Developer Website](https://developer.nexmo.com/), which displays\nthese code snippets in a more copy/paste fashion.\n\n## Configure with Your Vonage API Keys\n\nIf you'd still like to use this sample you will first need a\n[Vonage account](https://dashboard.nexmo.com/sign-up). Once you have your own\nAPI credentials, rename the `.env-example` file to `.env` and set the values\nas required.\n\nFor some of the examples, you will need to\n[buy a number](https://dashboard.nexmo.com/buy-numbers).\n\n## Tutorials \u0026 Sample Code\n\n### SMS\n\n| Tutorial                                                                                                                                                                                 | Code Sample                                  |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------|\n| [How to Send SMS Messages with Node.js and Express](https://www.nexmo.com/blog/2016/10/19/how-to-send-sms-messages-with-node-js-and-express-dr/)                                         | [send-express.js](sms/send-express.js)       |\n| [How to Receive SMS Messages with Node.js and Express](https://www.nexmo.com/blog/2016/10/27/receive-sms-messages-node-js-express-dr/)                                                   | [receive-express.js](sms/receive-express.js) |\n| [How to receive an SMS Delivery Receipt from a Mobile Carrier with Node.js](https://www.nexmo.com/blog/2016/11/23/getting-a-sms-delivery-receipt-from-a-mobile-carrier-with-node-js-dr/) | [dlr-express.js](sms/dlr-express.js)         |\n\n### Voice\n\n| Tutorial                                                                                                                                                 | Code Sample                                                                                               |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------|\n| [How to Make an Outbound Text-to-Speech Phone Call with Node.js](https://www.nexmo.com/blog/2017/01/12/make-outbound-text-speech-phone-call-node-js-dr/) | [make-calls.js](voice/make-call.js)                                                                       |\n| [How to Handle Inbound Phone Calls with Node.js](https://www.nexmo.com/blog/2017/01/26/handle-inbound-text-speech-phone-call-node-js-dr/)                | [receive-call-webhook.js](voice/receive-call-webhook.js)                                                  |\n| How to Direct Inbound Phone Calls to an Endpoint with Failover with Node.js                                                                              | [receive-call-webhook-failover.js](voice/receive-call-webhook-failover.js)                                |\n| [How to Record Audio from Incoming Calls with Node.js](https://www.nexmo.com/blog/2017/02/06/how-to-record-audio-from-phone-call-node-js-dr/)            | [record-call.js](voice/record-call.js)                                                                    |\n| [How to Make a Private Phone Call with Node.js](https://www.nexmo.com/blog/2017/03/21/make-private-phone-call-node-js-dr/)                               | [proxy-call.js](https://github.com/nexmo-community/nexmo-node-quickstart/blob/master/voice/proxy-call.js) |\n\n### Verify\n\n| Tutorial                                                                                                                        | Code Sample                                                                                                                                                                                   |\n|---------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Two-Factor Authentication](https://www.nexmo.com/blog/2017/04/11/implement-two-factor-authentication-2fa-web-apps-node-js-dr/) | [2fa.js](https://github.com/nexmo-community/nexmo-node-quickstart/blob/master/verify/2fa.js) and [UI code](https://github.com/nexmo-community/nexmo-node-quickstart/tree/master/verify/views) |\n\n## Request More Examples\n\n[raise an issue](/../../issues/) if there is a an issue with the code.\n\nIf you want to know how to do something specific with the Vonage APIs,\nPlease [ask a question](https://github.com/Vonage/vonage-node-sdk/issues) in\nthe Node SDK repo.\n\n## Licenses\n\n- The code samples in this repo are under [MIT](LICENSE)\n\n- The tutorials contents are under Creative Commons, [CC-BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/legalcode)\n\n  ​\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FVonage%2Fvonage-node-code-snippets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FVonage%2Fvonage-node-code-snippets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FVonage%2Fvonage-node-code-snippets/lists"}