GET /stubs/handler_api.php?action=getRentList
Get list of active rental numbers of the profile
This request returns a list of rental numbers with current rent for your profile, including unactivated numbers, if the activation period has not expired.
You might want to use this request to retrieve a relevant information on all the active rental numbers you've ordered.
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: getRentListDefault:getRentList |
Responses
200
Successful getRentList response from the server: either returns
a list of active rental numbers by country or throws an exception.
Code Samples
No code samples available