GET /stubs/handler_api.php?action=getCountries
Get list of countries with available numbers for order
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.
Security
- api_key
- BearerAuth
- OAuth2 (Scopes: sms-scope, rent-scope)
sms-scope: grants access to manage numbers for the SMS receiving service from Onlinesimrent-scope: grants access to renting phone numbers from Onlinesim
Parameters
| Name | Type | Description |
|---|---|---|
action* | string | Method name, in this case Enum: getCountriesDefault:getCountries |
Responses
200
Successful getCountries response from the server: either returns
a list of available countries with information on available services
or throws an exception.
Code Samples
No code samples available