GET /stubs/handler_api.php?action=getRentServicesAndCountries
Get list of countries and rent details for virtual number renting
This request returns a list of countries available for rent with rent details.
You might want to use it to check if the numbers of desired country are available for rent and if so, how many.
Security
- api_key
- BearerAuth
- OAuth2 (Scopes: rent-scope)
rent-scope: grants access to renting phone numbers from Onlinesim
Parameters
| Name | Type | Description |
|---|---|---|
action* | string | Method name, in this case Enum: getRentServicesAndCountriesDefault:getRentServicesAndCountries |
country | integer | Country ID (according to getCountries) Default: 0 |
Responses
200
Successful getRentServicesAndCountries response from the server:
either returns detailed information on available numbers for rent by
country or throws an exception.
Code Samples
No code samples available