Skip to content

GET /api/rent/extendRentState.php

Extend virtual phone number rent

Extends a rent for a specified period (in days).

This request is needed when your rental period is about to expire, but you plan to continue using it.

WARNING

It is worth to mention, that this request is need to be sended only when the rent is still active. If the rent is already expired, you won't be able to extend it.

Security

Parameters

NameTypeDescription
tzid*integer
≥ 1

Operation ID

Example:10000
days*integer
≥ 0

Extention period for rental number (in days). Can only accept
values listed in extend section of
getRentState
response

Example:15
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 extendRentState request: extends the
rent of a number with requested parameters or throws an exception.’

Code Samples