Documentation

LogIn
  • Home
  • API
  • List Active Phone Numbers on the Account

This API will list all available activated phone numbers on the account that can be used
Method: Get/Post

Base URL : https://hubbucs.com/site/api/list_phone_numbers
Mandatory Parameters Sample Description
key 374593457034859 The company account API key, you can get from company settings > API settings


Optional Parameters Sample Description
page_number 2 Number of the page, (# of records per page is 30 records), default value : 1

Example:


				

Example :

https://hubbucs.com/site/api/list_phone_numbers?key=12134651Gsuid7349[&page_numer=1]

Response :

  1. {
  2. "phone_numbers":
  3. [
  4. {
  5. "phone_number":"+16283268766"
  6. },
  7. {
  8. "phone_number":"+16283268767"
  9. },
  10. {
  11. "phone_number":"+16283268768"
  12. }
  13. ]
  14. }
  15. ------OR------
  16. {
  17. "error_message":"error message"
  18. }