Welcome! Here you will find some examples of NCCOs (Nexmo Call Control Objects) that you can use with the Nexmo Voice API. We’ve split the examples into sections so have a browse and if you don’t find what you’re looking for, open an issue (pull requests are welcome too!).
These examples use the
talk action, producing text-to-speech output.
talk.jsonfor simple spoken words
text-to-speech.jsonalso specifies a voice name
ssml.jsonhas an example with some SSML (Synthesized Speech Markup Language) for expression.
connect-phone.jsonto connect the answered call to another number
connect-to-app.jsonto connect the answered call to an application using our Conversation API
conference.jsonto add every user to the same conference
dtmf-input.jsonif you want to get the user to enter some digits with their telephone keypad
record.jsonwill record your call. Take a look at the code snippets for examples of how to authenticate and download the finished recording after the call.
Still looking for more? Try these: