


Today and start building with free credit. See our Nexmo Code Snippets for Java for full code examples on this tutorial and more.To complete this tutorial, you will need aĪPI account. In a few lines of code, you have created an application that can call a recipient and speak a message.Ĭheck out our documentation on Nexmo Developer where you can learn more about call flow or Nexmo Call Control Objects. Once you answer this call, the Vonage Voice API will speak the message, "This is a text-to-speech call from Vonage." Conclusion You should receive a phone call from your Vonage number. Start your application with the gradle run command inside of your make-tts-call directory. Use the following command to create an application using the Vonage CLI:Ĭall call = new Call (TO_NUMBER, NEXMO_NUMBER, ncco ) To learn more about applications see our Vonage Concepts Guide.

You will be using Gradle to manage your dependencies and run your application. Purchase one, go to Numbers > Buy Numbers and search This tutorial also uses a virtual phone number. You can find your API Key and API Secret at the top of the

To complete this tutorial, you will need aĪPI account.
