How do I create a Voice API application?

Follow

David Preo

Updated

 

To begin using your Bandwidth Dashboard numbers for Voice APIs, you first need to create a Voice application and then associate it with your phone number’s location:

  1. Log into the Bandwidth Dashboard.
  2. Create a sub-account.

Note: If you already have a sub-account that you want to associate with this application, you can skip this step. However, if you'd like to create a new one for this specific application, please follow these steps.

  1. In the top navigation bar, select Applications.

Screen_Shot_2020-08-10_at_12.20.21_PM.png

  1. Provide the Application name (we recommend you use something that identifies what the application will do).
  2. Under Application type, select Voice

Note: Once your application is created, you won’t be able to change the application type.

  1. Enable the Use a callback username and password checkbox if you’d like to use a callback username and password.

Note: Your password won’t be visible after leaving this screen. Store it securely for your use or return here to create a new one.

  1. Under Call initiated callback method, select GET or POST
  2. Optional: Under Call status callback method, select GET or POST 
  3. Enter a Call initiated callback URL (invoked when a call is initiated)
  4. Optional: Enter a Call status callback URL (currently this is invoked when a call is terminated, but other status events may be added in the future)
  5. If you checked the Use a callback username and password, please enter Callback user ID and Callback password. These credentials will be used by your server to authenticate callbacks
  6. Click Create Application.

Next, you need to associate your new location with your Voice application.

  1. In the top navigation bar, click Account and then select Locations.

Screen_Shot_2020-08-10_at_12.24.01_PM.png

  1. Select your Sub-account.
  2. Provide a uniquely identifiable Location name.
  3. Optional: Add a Description.
  4. Under Voice Protocol, select HTTP Voice.
  5. Under Associated Voice Application, select one of the applications you've previously created.
  6. Adjust all other settings based on your preferred specifications.
  7. Click Create Location.

Question? Please reach out to your Bandwidth Support Team or hit us up at (855) 864-7776!

Article is closed for comments.