Create a Voice Application
This application requires a Nexmo application and phone numbers. To create the application, use the
nexmo app:create command with the Nexmo CLI.
The parameters are:
<<APP NAME>>- the name of the voice application
<<FILENAME>>- the name of the private key file, in this instance
<<ANSWER WEBHOOK>>- the webhook called the Nexmo number receives an inbound call
<<EVENT WEBHOOK>>- the webhook called when the call status changes
nexmo app:create --keyfile <<FILENAME>> <<APP NAME>> <<ANSWER WEBHOOK>> <<EVENT WEBHOOK>>
Once completed, this command will return a UUID (Universally Unique Identifier) that identifies your application. Copy and save the UUID for use in an upcoming step.
Link Phone Numbers
You will need to use a phone number already associated with your account, or purchase a new one.
List Phone Numbers
Use this command to list purchased phone numbers associated with your account.
Purchase Phone Numbers
nexmo number:buy --country_code US --confirm