Documentation

LogIn
  • Home
  • API
  • Search for a Phone Number

This API is used to search for a new phone number under the company account.
It supports USA numbers only, for other countries, please contact us.
Method: Get/Post

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


Optional Parameters Sample Description
state FL 2 Letters state code of USA (Default is FL)
zipCode ZIP Code (5 Digits) Zip code for the area requierd
areaCode 956 Area Code digits for the required Phone numbers

Example:


				

Example :

https://hubbucs.com/site/api/crm_add_contact?key=12134651Gsuid7349&email=XXXXX[&Optional_parameter1=XXXXX&Optional_parameter2=XXXXX]

Response :

  1. {
  2. "phone_numbers":
  3. [
  4. {
  5. "FullNumber":"+12223334444",
  6. "City":"City Name",
  7. "State":"FL"
  8. },
  9. {
  10. {
  11. "FullNumber":"+12223334444",
  12. "City":"City Name",
  13. "State":"FL"
  14. },
  15. {
  16. {
  17. "FullNumber":"+12223334444",
  18. "City":"City Name",
  19. "State":"FL"
  20. }
  21. ]
  22. }
  23. ------OR------
  24. {
  25. "error_message":"error message"
  26. }