This guide will cover how to find your credentials for use with Bandwidth's Phone Number API
- You have a Phone Number Dashboard account
Credential Name | Description | Example |
---|---|---|
username |
Your username to log in to the Phone Number Dashboard | jdoe |
password |
Your password to log in to the Phone Number Dashboard | correct-horse-battery-staple |
accountId |
Your unique account id. The accountId is used as part of the url to make API requests. Ex: https://dashboard.bandwidth.com/api/accounts/{accountId}/ |
920012 |
subAccountId -or- siteId |
Any id for any sub-account. The subAccountId is used as part of the url to make some API requests. Ex: https://dashboard.bandwidth.com/api/accounts/{accountId}/sites/{sideId} ℹ️ Sub-accounts are also known as sites ℹ️ An account can have multiple sub-accounts |
13606 |
- Log into the Bandwidth Phone Number Dashboard
- Click the Account tab in the menu section to go to your Account Overview
- Under the Account overview section you will see your account ID.
Sub-accounts and sites refer to the same resource within the Phone Number Dashboard. Typically the UI (or Dashboard) refers to the resource as a sub-account while the API refers to the resource as a site. These are 100% interchangable.
- Navigate to the Sub-account page
- Account > Configuration > Sub-accounts
- To add a sub account, click the 'Add a sub-account' Button
- Once you have at least one sub-account, click the manage button to get the Id.
The Bandwidth API methods are accessed through HTTPS to protect sensitive customer data against eavesdropping and man-in-the-middle attacks. Basic HTTP authentication is used with encryption via TLS. Basic HTTP authentication is supported by all browsers commonly in use, and the HTTP clients of most programming languages, and is straightforward to implement. For examples on client authentication, please review information at: http://hc.apache.org/httpcomponents-client-ga/examples.html
Contact the Bandwidth Customer Experience Team for new credentials, password resets or access to additional purchased features. The bandwidth dashboard requires the use of one of the versions of TLS: as of the appearance of the POODLE SSL vulnerability the support for SSL has been discontinued.