Documentation
LogIn- Getting started
-
CRM API
- Adding/Updating Contacts
- List Filter/Search Contacts
- Contact Timeline Actions
- Contact Info
- Contact Actions
- Adding/Updating Company
- List Filter/Search Companies
- Company Timeline Actions
- Company Info
- Update Company Info
- Add Company Timeline Action
- Adding/Updating Deals
- List Filter/Search Deals
- List Filter/Search Deals Board View
- Drag/Drop Deals between Stages
- Deal WIN/LOSS Reasons
- Owners
- Countries
- Stages
- Funnels
- Lead Scores
- Deal Timeline Actions
- Deal Info
- Update Deal Info
- Add Deal Timeline Action
- List Filter/Search Activities/Tasks
- Add/Update Activity/Tasks
- Contact Messages
- List User Messages
- Delete Actions
-
Phone API
- Send SMS
- Search Phone Numbers
- Order Phone Number
- List Active Phone Numbers
- Disconnect Phone Number
- List Available Audio Files
- Block Phone Number
- Unblock Phone Number
- Check Number Block Status
- List Phone Sub Accounts
- Add/Edit Sub Account
- Attach Phone Number to Sub Account
- List Phone Numbers Per Sub Account
- System API
- Service/Tickets API
- API - Premium Edition
- Callbacks
- Resellers API
- Enabler API
- SMS Error Codes
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
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 :
- {
- "sub_account_id":"6565",
- "sub_account_name":"test account",
- "EntityType":"PRIVATE_PROFIT",
- "legal_CompanyName":"test account",
- "AltBusinessId":"545454",
- "AltBusinessIdType":"DUNS",
- "Vertical":"HEALTHCARE",
- "Street":"525 street name",
- "City":"Miami",
- "State":"FL",
- "PostalCode":"33033",
- "Country":"US",
- "Ein":"565665988",
- "Email":"email@companywebsite.com",
- "Phone":"+18888888888",
- "FirstName":"ownerFirstName",
- "LastName":"ownerLastName",
- "StockExchange":"NASDAQ",
- "StockSymbol":"GDJD",
- "Website":"http://www.webite.com",
- "phone_numbers":
- [
- {
- "phone_number":"+158884566565"
- },
- {
- "phone_number":"+1983322888"
- }
- ]
- }
- ------OR------
- {
- "error_message":"error message"
- }