Documentation

LogIn
  • Home
  • API
  • Show Phone sub account info and related Phone numbers

This API will return Phone sub account info and related Phone numbers
Method: Get/Post

Base URL : https://hubbucs.com/site/api/list_phones_per_subaccount
Mandatory Parameters Sample Description
key 374593457034859 The company account API key, you can get from company settings > API settings
sub_account_id integer id of the phone sub account

Example:


				

Example :

https://hubbucs.com/site/api/list_phones_per_subaccount?key=12134651Gsuid7349

Response :

  1. {
  2. "sub_account_id":"6565",
  3. "sub_account_name":"test account",
  4. "EntityType":"PRIVATE_PROFIT",
  5. "legal_CompanyName":"test account",
  6. "AltBusinessId":"545454",
  7. "AltBusinessIdType":"DUNS",
  8. "Vertical":"HEALTHCARE",
  9. "Street":"525 street name",
  10. "City":"Miami",
  11. "State":"FL",
  12. "PostalCode":"33033",
  13. "Country":"US",
  14. "Ein":"565665988",
  15. "Email":"[email protected]",
  16. "Phone":"+18888888888",
  17. "FirstName":"ownerFirstName",
  18. "LastName":"ownerLastName",
  19. "StockExchange":"NASDAQ",
  20. "StockSymbol":"GDJD",
  21. "Website":"http://www.webite.com",
  22. "phone_numbers":
  23. [
  24. {
  25. "phone_number":"+158884566565"
  26. },
  27. {
  28. "phone_number":"+1983322888"
  29. }
  30. ]
  31. }
  32. ------OR------
  33. {
  34. "error_message":"error message"
  35. }