get getCountries

http://api-conserver.onlinesim.io/stubs/handler_api.php?action=getCountries
profile (alt)
This request returns a set of data needed for ordering a number on our service. You can also use it to retrieve a list of all available countries with detailed information of their ID and available services.

Parameters

action
Required
Method name, in this case `getCountries`
In: query
Schema:
  • string
    Example: "getCountries"
    Enum: getCountries

Global params

Responses

200

Successful `getCountries` response from the server: either returns a list of available countries with information on available services or throws an exception.
Content Type:
application/json
  • Schema
  • Examples
  • object
    Example: {"#countryCode#":{"id":43,"rus":"Германия","eng":"Germany","chn":"德国","visible":1,"retry":0,"rent":1,"multiService":0}}
    Properties:
    • #countryCode#
      object
      Country code (Е.164 standard, without "+" sign)
      Example: {"id":43,"rus":"Германия","eng":"Germany","chn":"德国","visible":1,"retry":0,"rent":1,"multiService":0}