get getFreeCountryList

https://onlinesim.io/api/getFreeCountryList
free numbers

DEPRECATED, use getFreeList instead

This request retrieves a list of countries with available free numbers, request does not have any additional parameters.

Using this request allows you to browse the list of countries which numbers available for free and use it, for example, for testing purposes.

Security

Parameters

lang

Response language: fr - French, de - German, ru - Russian, en - English, zh - Chinese

In: query
Schema:
  • string
    Example: "en"
    Enum: fr de ru en zh

Responses

200

Successful response for `getFreeCountry` request: the server returns a list of countries with free available numbers or throws an exception.
Content Type:
application/json
  • Schema
  • Examples
  • object
    Example: {"response":1,"countries":[{"country":46,"country_text":"Sweden"}]}
    Properties:
    • response
      mixed
      1, if the request has been completed successfully, or an error message
      Example: 1
      One Of:
      • integer
        Example: 0
      • string
        Example: "string"
    • countries
      array
      Array of countries with their corresponding phone codes
      Example: [{"country":46,"country_text":"Sweden"}]
      Items:
      • object
        Example: {"country":46,"country_text":"Sweden"}