get getNumbersStatus
http://api-conserver.onlinesim.io/stubs/handler_api.php?action=getNumbersStatus
This request returns a list of available numbers by country and service.
You might want to use it to check if the numbers of desired country are available for order and if so, how many.
Security
Parameters
action
Required
Method name, in this case `getNumbersStatus`
In:
query
Schema:
- stringExample:
"getNumbersStatus"
Enum:getNumbersStatus
country
Country code (Е.164 standard, without "+" sign)
In:
query
Schema:
- integerExample:
46
>= 1
Responses
200
Successful `getNumbersStatus` response from the server: either returns detailed information on available numbers by service or throws an exception.
Content Type:
application/json
- Schema
- Examples
- objectList of services and corresponding available numbersExample:
{"#service_slug#":0}
Properties:#service_slug#
integerService name (_countryID): amount of available numbersExample:0