{"id":17492456,"url":"https://github.com/vonage/vonage-node-sdk","last_synced_at":"2025-05-14T01:07:58.280Z","repository":{"id":1884934,"uuid":"2810709","full_name":"Vonage/vonage-node-sdk","owner":"Vonage","description":"Vonage API client for Node.js. API support for SMS, Voice, Text-to-Speech, Numbers, Verify (2FA) and more.","archived":false,"fork":false,"pushed_at":"2025-04-02T19:31:53.000Z","size":7503,"stargazers_count":390,"open_issues_count":3,"forks_count":184,"subscribers_count":26,"default_branch":"3.x","last_synced_at":"2025-04-07T22:38:06.581Z","etag":null,"topics":["dedicated-support","developer-destination","javascript","messaging","nexmo","phone","server-sdk","sms","text-message","text-to-speech","two-factor-authentication","voice","vonage"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Vonage.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2011-11-19T20:49:20.000Z","updated_at":"2025-04-07T19:34:35.000Z","dependencies_parsed_at":"2023-07-05T20:32:41.307Z","dependency_job_id":"53f5da83-d686-4491-a55f-54b272de19e0","html_url":"https://github.com/Vonage/vonage-node-sdk","commit_stats":{"total_commits":903,"total_committers":81,"mean_commits":"11.148148148148149","dds":0.8194905869324474,"last_synced_commit":"c2a1570fa8fe90a36fe8d03720da517c828e3120"},"previous_names":[],"tags_count":983,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vonage%2Fvonage-node-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vonage%2Fvonage-node-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vonage%2Fvonage-node-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vonage%2Fvonage-node-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vonage","download_url":"https://codeload.github.com/Vonage/vonage-node-sdk/tar.gz/refs/heads/3.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248208761,"owners_count":21065222,"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":["dedicated-support","developer-destination","javascript","messaging","nexmo","phone","server-sdk","sms","text-message","text-to-speech","two-factor-authentication","voice","vonage"],"created_at":"2024-10-19T09:04:42.524Z","updated_at":"2025-04-10T11:37:19.724Z","avatar_url":"https://github.com/Vonage.png","language":"TypeScript","readme":"# Vonage Server SDK for Node.js\n\n![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/vonage/vonage-node-sdk/ci.yml?branch=3.x) [![Codecov](https://img.shields.io/codecov/c/github/vonage/vonage-node-sdk?label=Codecov\u0026logo=codecov\u0026style=flat-square)](https://codecov.io/gh/Vonage/vonage-server-sdk) ![Latest Release](https://img.shields.io/npm/v/@vonage/server-sdk?label=%40vonage%2Fserver-sdk\u0026style=flat-square) [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg?style=flat-square)](../../CODE_OF_CONDUCT.md) [![License](https://img.shields.io/npm/l/@vonage/accounts?label=License\u0026style=flat-square)][license]\n\n\u003cimg src=\"https://developer.nexmo.com/images/logos/vbc-logo.svg\" height=\"48px\" alt=\"Vonage\" /\u003e\n\nThis is the Node.JS Server SDK for [Vonage APIs](https://www.vonage.com/). To use it you will need a Vonage account. Sign up [for free at vonage.com][signup].\n\nFor full API documentation refer to [developer.vonage.com](https://developer.vonage.com/).\n\n* [Installation](#installation)\n* [Constructor](#constructor)\n* [Promises](#promises)\n* [Testing](#testing)\n* [Examples](#examples)\n* [References](#references)\n\n\n## Installation\n\n### With NPM\n\n```bash\nnpm install @vonage/server-sdk\n```\n\n### With Yarn\n\n```bash\nyarn add @vonage/server-sdk\n```\n\n## Constructor\n\n```js\nconst { Vonage } = require('@vonage/server-sdk');\n\nconst vonage = new Vonage(credentials, options);\n```\n\nWhere `credentials` is any option from [`@vonage/auth`](https://github.com/Vonage/vonage-node-sdk/blob/3.x/packages/auth/README.md#options), and `options` is any option from [`@vonage/server-client`](https://github.com/Vonage/vonage-node-sdk/blob/3.x/packages/server-client/README.md#options)\n\n## Promises\n\nMost methods that interact with the Vonage API uses Promises. You can either resolve these yourself, or use `await` to wait for a response.\n\n```js\nconst resp = await vonage.sms.send({\n    to: '15552220000',\n    from: '15559992222',\n    text: 'This is a test',\n});\n```\n\n## Testing\n\nRun:\n\n```bash\nnpm run test\n```\n\nOr to continually watch and run tests as you change the code:\n\n```bash\nnpm run test-watch\n```\n\n## Examples\n\nSee the [Vonage Node Quickstarts repo](https://github.com/Vonage/vonage-node-code-snippets).\n\n\n## References\n\nYou can find more information for each product below:\n\n* [Accounts][accounts]\n* [Applications][applications]\n* [Audit](https://github.com/Vonage/vonage-node-sdk/blob/3.x/packages/audit/README.md)\n* [Auth][auth]\n* [JWT][jwt]\n* [Messages](https://github.com/Vonage/vonage-node-sdk/blob/3.x/packages/messages/README.md)\n* [Number Insight V2](https://github.com/Vonage/vonage-node-sdk/blob/3.x/packages/number-insight-v2/README.md)\n* [Number Insights](https://github.com/Vonage/vonage-node-sdk/blob/3.x/packages/number-insights/README.md)\n* [Numbers](https://github.com/Vonage/vonage-node-sdk/blob/3.x/packages/numbers/README.md)\n* [Pricing](https://github.com/Vonage/vonage-node-sdk/blob/3.x/packages/pricing/README.md)\n* [Server Client][server-client]\n* [Server SDK](https://github.com/Vonage/vonage-node-sdk/blob/3.x/packages/server-sdk/README.md)\n* [SMS][sms]\n* [Sub Accounts](https://github.com/Vonage/vonage-node-sdk/blob/3.x/packages/subaccounts/README.md)\n* [Verify](https://github.com/Vonage/vonage-node-sdk/blob/3.x/packages/verify/README.md)\n* [Verify V2](https://github.com/Vonage/vonage-node-sdk/blob/3.x/packages/verify2/README.md)\n* [Vetch](https://github.com/Vonage/vonage-node-sdk/blob/3.x/packages/vetch/README.md)\n* [Video](https://github.com/Vonage/vonage-node-sdk/blob/3.x/packages/video/README.md)\n* [Voice][voice]\n\n## Supported APIs\n\nThe following is a list of Vonage APIs and whether the Node Server SDK provides support for them:\n\n| API                   |  API Release Status  | Supported? |\n|-----------------------|:--------------------:|:----------:|\n| Account API           | General Availability |     ✅      |\n| Alerts API            | General Availability |     ✅      |\n| Application API       | General Availability |     ✅      |\n| Audit API             |         Beta         |     ✅      |\n| Conversation API      | General Availability |     ✅      |\n| Dispatch API          |         Beta         |     ❌      |\n| External Accounts API |         Beta         |     ❌      |\n| Media API             |         Beta         |     ✅      |\n| Messages API          | General Availability |     ✅      |\n| Meetings API          |      Deprecated      |     ✅      |\n| Number Insight V2 API |         Beta         |     ✅      |\n| Number Insights API   | General Availability |     ✅      |\n| Number Management API | General Availability |     ✅      |\n| Pricing API           | General Availability |     ✅      |\n| Proactive Connect API |      Deprecated      |     ✅      |\n| Redact API            |  Developer Preview   |     ✅      |\n| Reports API           |         Beta         |     ✅      |\n| SMS API               | General Availability |     ✅      |\n| Sub Accounts          |         Beta         |     ✅      |\n| Users                 | General Availability |     ✅      |\n| Verify API            | General Availability |     ✅      |\n| Verify v2 API         | General Availability |     ✅      |\n| Video API             | General Availability |     ✅      |\n| Voice API             | General Availability |     ✅      |\n\n### Network APIS\n\nThe following Network APIs are supported however they are opt-in.\n\n| API                   | Supported? |\n|-----------------------|:----------:|\n| Number Verification   |     ✅     |\n| SIM Swap              |     ✅     |\n\n#### Network API references\n\n* [Number Verification](https://github.com/Vonage/vonage-node-sdk/blob/3.x/packages/network-number-verification/README.md)\n* [SIM Swap](https://github.com/Vonage/vonage-node-sdk/blob/3.x/packages/network-sim-swap/README.md)\n\n### V2 Migrations\n\nWhile most of the V2 functions have been ported into their own package, some of the functions have not been ported or were removed. Below is a list of those changes:\n\n| V2 Function                 |  Status   |                          Note                          |\n|-----------------------------|:---------:|:------------------------------------------------------:|\n| `vonage.conversion`         | _REMOVED_ |                                                        |\n| `vonage.conversation`       |   Moved   |        Moved To [Conversations][conversations]         |\n| `vonage.app`                |   Moved   |         Moved to [Applications][applications]          |\n| `vonage.files`              |   Moved   |         Move to [ServerClient][server-client]          |\n| `vonage.message`            |   Moved   |                  Moved to [SMS][sms]                   |\n| `vonage.generateJwt`        |   Moved   |                Was moved to [JWT][jwt]                 |\n| `vonage.generateSignature`  |   Moved   |       Was moved to [SMS][sms] and [Voice][voice]       |\n| `vonage.calls`              |   Moved   |              Was moved to [Voice][voice]               |\n| `vonage.credentials`        |  Updated  | Options can be found in [Server Client][server-client] |\n| `vonage.options`            |  Updated  | Options can be found in [Server Client][server-client] |\n| `vonage.options.httpClient` | _Removed_ |                                                        |\n| `vonage.options.userAgent`  |   Moved   | Options can be found in [Server Client][server-client] |\n\nFor more information, check out each packages migration guide.\n\n[accounts]: https://github.com/Vonage/vonage-node-sdk/blob/3.x/packages/accounts/README.md\n[applications]: https://github.com/Vonage/vonage-node-sdk/blob/3.x/packages/applications/README.md\n[auth]: https://github.com/Vonage/vonage-node-sdk/blob/3.x/packages/auth/README.md\n[sms]: https://github.com/Vonage/vonage-node-sdk/blob/3.x/packages/sms/README.md\n[server-client]: https://github.com/Vonage/vonage-node-sdk/blob/3.x/packages/server-client/README.md\n[jwt]: https://github.com/Vonage/vonage-node-sdk/blob/3.x/packages/jwt/README.md\n[conversations]: https://github.com/Vonage/vonage-node-sdk/blob/3.x/packages/conversations/README.md\n[voice]: https://github.com/Vonage/vonage-node-sdk/blob/3.x/packages/voice/README.md\n[signup]: https://dashboard.nexmo.com/sign-up?utm_source=DEV_REL\u0026utm_medium=github\u0026utm_campaign=node-server-sdk\n[license]: LICENSE.txt\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvonage%2Fvonage-node-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvonage%2Fvonage-node-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvonage%2Fvonage-node-sdk/lists"}