Skip to content

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

Parameters

NameTypeDescription
action*string

Method name, in this case getRentServicesAndCountries

Enum:getRentServicesAndCountriesDefault:getRentServicesAndCountries
countryinteger

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