get getFreeCountryList
https://onlinesim.io/api/getFreeCountryList
Deprecated!
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:
- stringExample:
"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
- objectExample:
{"response":1,"countries":[{"country":46,"country_text":"Sweden"}]}
Properties:response
mixed1, if the request has been completed successfully, or an error messageExample:1
One Of:- integerExample:
0
- stringExample:
"string"
countries
arrayArray of countries with their corresponding phone codesExample:[{"country":46,"country_text":"Sweden"}]
Items:- objectExample:
{"country":46,"country_text":"Sweden"}