GET /api/rent/getRentState.php
Get information about the state of virtual phone number rent operation
This request returns a list of active rental numbers.
You can use it to quickly browse all your active rental numbers (or only specific one) and their received messages.
Security
- apikey
- BearerAuth
- OAuth2 (Scopes: rent-scope)
rent-scope: grants access to renting phone numbers from Onlinesim
Parameters
| Name | Type | Description |
|---|---|---|
tzid | integer | 'Operation ID. If not specified, request will return the entire list of active |
pagination | boolean | Pagination mode for message browsing (disabled if Default: falseExample:false |
lang | string | Response language: Enum: frderuenzhDefault:ruExample:en |
Responses
200
‘Successful response for getRentState request: the server returns
information of specified active rental operation (or all of them) or
throws an exception.’
Code Samples
No code samples available