Skip to content

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

Parameters

NameTypeDescription
tzidinteger

'Operation ID.

If not specified, request will return the entire list of active
rental operations’

paginationboolean

Pagination mode for message browsing (disabled if false)

Default:falseExample:false
langstring

Response language:
fr - French,
de - German,
ru - Russian,
en - English,
zh - Chinese.
Please note that the translation applies only to string field values, such as service names or country names. Field names themselves, error messages, and standard values (for example, true/false for boolean fields) remain in English.

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