Numbers
Methods
searchCallerIDs
Search for the Caller ID number. The method without specifying the parameters returns the last 20 Caller IDs.
Parameters
id:
integer
Caller ID. The ID can be retrieved via the searchCallersIDs method
caller_number:
string
Number of the caller
active:
integer
Set '1' if the caller is active
sort:
string
Sorting data by field(s), add '-' to DESC sort, (example: ‘sort=id’, etc).
IMPORTANT: the parameter can be used only in GET requestsdomain:
string
Your account name
access_token:
string
Your api token
Returns
Search request is successfully performed
default:
Command execution error
searchNumbers
Search for the phone numbers. The method without specifying the parameters returns the last 20 phone numbers.
Parameters
id:
integer
Phone number ID. The ID can be retrieved via the searchNumbers method
with_campaigns:
integer
Set '1' to include campaigns in the search results
with_scenarios:
integer
Set '1' to include scenarios in the search results
can_be_used:
integer
Set '1' if the phone number can be used
phone_number:
string
Phone number to search for.
phone_country_code:
string
Phone country code (2 symbols)
sort:
string
Sorting data by field(s), add '-' to DESC sort, (example: ‘sort=id’, etc).
IMPORTANT: the parameter can be used only in GET requestsdomain:
string
Your account name
access_token:
string
Your api token
Returns
Search request is successfully performed
default:
Command execution error