#Prolong a number
https://sms-online.pro/stubs/handler_api.php?action=continueRentNumber&api_key=$api_key&id=$id&rent_time=$time
#Parameters:
| Parameters |
Type |
Required |
Description |
| $api_key |
string |
☑️ |
API key |
| $id |
integer |
☑️ |
Rent order id |
| $rent_time |
integer |
☑️ |
Rent time in hours (2, 4, 12, 24, 48, 72, …) |
#Response:
{
"status": "success",
"phone": {
"id": 29169009,
"endDate": "2025-09-30 00:36:18",
"number": "33780736225"
}
}
| Response parameters |
Description |
| $id |
Rent order id |
| $endDate |
End date of rent |
| $number |
Phone number |
#Error Response:
{
"status": "error",
"message": "WRONG_COUNTRY"
}
#Possible errors:
| Mistake |
Description |
| NO_BALANCE |
Not enough funds |
| WRONG_COUNTRY |
Wrong country |
| CHANNELS_LIMIT |
Order creation is temporarily unavailable |
| ACCOUNT_INACTIVE |
The account is inactive |
| BAD_KEY |
Invalid API key |
| ERROR_SQL |
SQL-server error |
| NO_NUMBERS |
No numbers for rent |
| SERVER_ERROR |
Server error |