How to Create a Voice API Application (V2)Follow
To begin utilizing your Bandwidth Dashboard numbers for V2 Voice APIs, you’ll first need to create a Voice Application and then associate it with your phone number’s Location.
- Log into the Bandwidth Dashboard using your user name and password
- Create a Sub-Account. If you already have a Sub-Account that you want to associate with this application, you can skip this step. However, if you want to create a new Sub-Account for this specific application, you can follow the steps outlined in our support article.
- Click 'Applications’ in the top navigation menu
- Enter the name for the application (it’s recommended to use something that identifies what the application will do)
- Under “Application type”, select ‘Voice’ (Note: once your application is created, you won’t be able to change application type)
- Mark 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)
- Select a call initiated callback method (‘GET’ or ‘POST’)
- Optional: Select a call status callback method (‘GET’ or ‘POST’).
- Provide a call initiated callback URL (invoked when a call is initiated)
- Optional: Provide a call status callback URL (currently this is invoked when a call is terminated, but other status events may be added in the future)
- Enter callback user ID and callback password (if you checked the box in step 6). These credentials will be used by your server to authenticate callbacks
- Click ’Create Application’
Next, you’ll associate your new Location with your Voice Application.
- Click ‘Account’ and then select ‘Locations’
- Select your Sub account
- Provide a uniquely identifiable Location name
- Optional: Add a Description
- From here, change your Voice Protocol to ‘HTTP Voice’
- Select an Associated Voice Application that you previously created.
- Adjust all other settings per your desired specifications.
- Click ’Create Location’
Was this article helpful?
4 out of 5 found this helpful