- always active numbers
- activation of numbers on by order, from 10 minutes
- both types of numbers, priority for always active numbers
Data updating automatically every 30 seconds. Date and time in timezone of your browser.
Status | Phone number | Service | Expire at | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ getStatusText(order.state) }} | {{ order.ccode }} {{ order.pnumber }}needs replace (?) | {{ order.sname }} | {{ (new Date(order.until * 1000)).toLocaleString() }} |
?
|
|||||||||||||
You can prolong number only if before expiring date left less 7 days | |||||||||||||||||
SMS that came to the numberRefresh
SMS that came to the number for other servicesHide Show
|
First, check that you activated phone number before send SMS. We are recommend to use private proxy, clear cache and cookie of browser when you create accounts using numbers.
You can prolong number only if before expiring date left less 7 days
Max guarantee period for the rent - 90 days.
If the rental period has expired and you have not had time to renew the rental, you can restore the rental in the Archive section on the Rental page yourself. Please note that it is not always possible to restore the number, but only if it is technically possible.
After the activation request, your number appears in a certain queue for activation, where there are numbers and other users, so activation of the number may take some time. On average, a phone number is activated in 10-15 minutes, but it can take longer. If the number is not activated for a very long period of time, then you can contact the support team and we will try to resolve the issue.
PHONE NUMBER STAYS ACTIVE FOR 10-30 MINUTES, THEN IS DEACTIVATED
We do not refund if you used the number, i.e. received SMS and you had no problems with the number. Refunds are made only when there are unsolvable problems with the number. In most cases, the issue of return is decided individually.
The cost of restoring the rental = the cost of overdue days (without discount) + prepayment from 30 days of rent
Only GET requests are accepted. The server always responds in JSON format. If the request was successful, then the status field will be 1, otherwise 0. If status = 0, then the cause of the error will be indicated in the msg field. Before sending SMS to a number, it must be activated and wait until the state of the order has the corresponding value. Please note that most requests require the user apikey to be specified.
https://smspva.com/api/rent.php?method=getcountries
{ "status": 1, "data": [ { "name": "Россия", // country name "code": "RU" // country code } ] }
https://smspva.com/api/rent.php?method=getdata&country=RU country - country code dtype - type of period: week or month dcount - count type of period, i.e. if dtype=week then counts of weeks
{ "status": 1, "data": [ { "name": "Airbnb", // service name "service": "opt46", // service code "price_day": 6, // price per day "count": 359 // available count } ] }
https://smspva.com/api/rent.php?method=create&apikey=yourapikeyhere&dtype=week&dcount=1&country=RU&service=opt6 dtype - type of period: week or month dcount - count type of period, i.e. if dtype=week then counts of weeks country - country code of number service - service code
{ "status": 1, "data": { "id": 40370, // ID of order "pnumber": "9096037108", // phone number without country code "ccode": "+7", // digital country code "service": "opt6", // service code "until": 1587633960 // UNIX timestamp of expire date } }
https://smspva.com/api/rent.php?method=orders&apikey=yourapikeyhere
{ "status": 1, "data": [ { "id": 40300, // ID of order "scode": "opt16", // service code "sname": "Instagram", // service name "state": 0, // state of number // 0 - not active, need to activate before send SMS // 1 - active, can receive SMS // 2 - activating process // -1 - phone number not in the system "pnumber": "9096068511", // phone number without country code "ccode": "+7", // digital country code "cname": "RU", // country code "hasnewsms": false, // flag of new SMS "until": 1587552240, // UNIX timestamp of expire date "canprolong": true, // flag of availablity of prolongation "canprolongmax": 162, // max days for prolongation "canprolonguntil": 1634883780 // Unix timestamp for max prolongation "lastonline": 1586947920 // Unix timestamp of last online date of number } ] }
https://smspva.com/api/rent.php?method=add_service_to_order&apikey=yourapikeyhere&id=3****4&service=opt89&pnumber=79*******95 apikey - Your API-key id - ID of the rental order service - service code pnumber - rented phone number with country code without "+"
{ "status": 1 }
https://smspva.com/api/rent.php?method=sms&id=123&apikey=yourapikeyhere id - ID of order
{ "status": 1, "data": [ { "text": "Code Instagram: 671 094.", // text of SMS "sender": "FACEBOOK", // sender of the SMS "date": 1586948100 // Unix timestamp of receiving date } ] }
https://smspva.com/api/rent.php?id=123&dcount=1&dtype=week&method=prolong&apikey=yourapikeyhere id - ID of order dtype - type of period: week or month dcount - count type of period, i.e. if dtype=week then counts of weeks
{ "status": 1, "data": { "id": 123 // ID of order } }
https://smspva.com/api/rent.php?method=activate&id=123&apikey=yourapikeyhere id - ID of order
{ "status": 1, "data": { "id": 123 // ID of order } }
https://smspva.com/api/rent.php?method=delete&id=123&apikey=yourapikeyhere id - ID of order
{ "status": 1, "data": { "id": 123 // ID of order } }
To restore the lease agreement, you need to get the order ID. To get a list of orders with the necessary information from the archive, you can request
https://smspva.com/api/rent.php?method=get_rent_history&apikey=userKey&skip=skipArchive&take=takeArchive userKey - User Key skipArchive - Number of items to skip takeArchive - Number of items received
{ "status": 1, "data": [{ "orderId":517017,"resourceCode":"opt59","number":"79020831944", "branchId":1235,"haveSms":true,"days":7,"country":"EN", "begin":1222222231,"end":1611111931,"closed":1632445144 }] }
After receiving the ID of the desired reservation, you need to make another request to check the availability of the for rent`s and calculate the cost of restoration.
https://smspva.com/api/rent.php?method=restore_user_precalc&apikey=userKey&id= orderId userKey - User key orderId - ID of the rental order
{ "status": 1, "data": { "ccode": "EN", "scode": "opt59", "price": 2.4, "sname": "Avito", "pnumber": "79929831844", "outdays": 32, "orderid": 317017, "prolongTo": 30 } }
If an exception occurs, we will receive a status with the value "0" and an error message in the msg field. at the bottom of the instructions is a list of possible exceptions and their description
After receiving a positive response and agreeing to the terms of the lease restoration, you can make a last request that will return the rental number
https://smspva.com/api/rent.php?method=restore_user&apikey=userKey&id=orderId userKey - User key orderId - ID of the rental order
{"status":1,"data":true}
The request will return an object with status and data fields, if the values are positive, then the number has been restored. If the values are not positive, double-check the data and try again, if this also did not help, contact the site support service
NOAVAILDAYS: Phone number is unavalible for automatically restoring. There are not enough working days for the phone number;
NOTOWNER: Looks like the order is not your. Check it and try again;
NOREMOTEDATA: We could not find information about your order in archive. Check that your rental order was expired;
NOORDERCOUNTRY: We could not find all info about order. Please, write in live-chat on the website for restoring order;
DATEDIFFINVERT: Looks like your order was not expired. Check that your rental order was expired;
NOSERVICEDATA: Could not load information about service. Please, write in live-chat on the website for restoring order;
NOBALANCE: Your balance is not enough for restoring rental order. Today need
the user had not this order: Looks like the order is not your. Check it and try again;
Service not found: Could not load information about service. Please, write in live-chat on the website for restoring order;
Balance is not enough: Your balance is not enough for restoring rental order;
Begin | Closed | Service | Phone number | Action |
---|---|---|---|---|
{{rentDateConverter(rent.begin)}} | {{rentDateConverter(rent.closed)}} | {{rentGetServiceByCode(rent.resourceCode)}} | {{rent.number}} | |
No matching records found |