Skip to Main Content
Documentation
Startups
Blog
Learning Center (Beta)
API Dashboard
Vonage.com
Pricing
Support
My profile
My dashboard
Log out
API Dashboard
Vonage.com
Pricing
Support
Legal & Privacy
Documentation
SDKs & Tools
Community
Startups
Blog
Learning Center (Beta)
View All docs
Node.js

Create your Node.js server

Finally, write the code to instantiate your Node server:

Copy
const port = 3000
app.listen(port, () => console.log(`Listening on port ${port}`))

Connect to a WebSocket

Connect an inbound call to a WebSocket with the Voice API

Available on:
Node.js Python
Steps
1
Introduction
2
Prerequisites
3
Buy a Vonage number
4
Create a Voice Application
5
Link a Vonage number
6
Create the project
7
Write your answer webhook
8
Write your event webhook
9
Create the WebSocket
10
Create your server
11
Test your application
12
Conclusion
13
What's next?
Vonage Logo
DocumentationDocumentationVonage Business CloudVonage Contact Center
Technical ReferencesDocumentationSDK & Tools
CommunityCommunity HubTeamCareersNewsletter
SupportKnowledgebaseChangelogs