get getNumbersStatus

http://api-conserver.onlinesim.io/stubs/handler_api.php?action=getNumbersStatus
single-service activations
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.

Parameters

action
Required
Method name, in this case `getNumbersStatus`
In: query
Schema:
  • string
    Example: "getNumbersStatus"
    Enum: getNumbersStatus
country
Country code (Е.164 standard, without "+" sign)
In: query
Schema:
  • integer
    Example: 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
  • object
    List of services and corresponding available numbers
    Example: {"#service_slug#":0}
    Properties:
    • #service_slug#
      integer
      Service name (_countryID): amount of available numbers
      Example: 0