數據每 30 秒自動更新一次。以瀏覽器時區表示的日期和時間。
| 地位 | 電話號碼 | 服務 | 到期時間 | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ getStatusText(order.state) }} | {{ order.ccode }} {{ order.pnumber }} ({{order.provider}}) 需要更換 (?) | {{ order.sname }} | {{ (new Date(order.until * 1000)).toLocaleString() }} | 
                                ?
                             | |||||||||||||
| You can prolong number only if before expiring date left less 7 days | |||||||||||||||||
| 收到該號碼的簡訊刷新
 發送到其他服務號碼的簡訊隱藏 顯示 
 | |||||||||||||||||
首先,在发送短信之前检查您的电话号码是否已激活。 当您使用号码创建帐户时,我们建议您使用私人代理并清除浏览器的缓存和 cookie。
仅当距离到期日还剩 7 天以内时,您才可以延长号码
最长租赁保证期 - 90 天。
如果租赁期限已到期并且您没有时间续订,您可以在租赁页面的存档部分自行恢复租赁。 请注意,并非总是可以恢复号码,但前提是技术上可行。
 请求激活后,您的号码将出现在等待激活的队列中。 队列中有号码和其他用户,因此激活您的号码可能需要一些时间。 平均而言,电话号码将在 10-15 分钟内激活,但也可能需要更长时间。 如果该号码长时间不活跃,那么您可以联系支持团队,我们将尽力解决该问题。 
电话号码保持活动状态 10-30 分钟,然后停用 
如果您已使用该号码,收到短信并且该号码没有问题,我们将不会退款。 仅当号码存在未解决的问题时才会退款。 在大多数情况下,退货问题是单独决定的。
恢复租金的费用=逾期天数的费用(无折扣)+30天租金的预付款
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=getdataWithProviders&country=RU&dtype=week&dcount=1 country - country code dtype - type of rental period: week (week) or month (month) dcount - number of rental periods: if dtype=week, then the number of weeks
{
    "status": 1,
    "data": {
        "services": [
            {
                "name": "1cupis & okcupid & winline",
                "service": "opt48",
                "price_day": 5,
                "img": "images\/ico\/cupis_okcupid_winline.ico",
                "procent_days": 0,
                "procent": 0,
                "day_step": 0,
                "count": {"MTS": 12},
                "totalCount": 12
            }
        ],
        "totalAmount": 1735,
        "allOperators": ["MTS"]
    }
}
https://smspva.com/rent.php?method=getCountWithProviders&country=AT&dtype=week&dcount=1 country - country code dtype - type of rental period: week (week) or month (month) dcount - number of rental periods: if dtype=week, then the number of weeks
{
    "status": 1,
    "data": {
        "opt48": {
            "Amount": {
                "Limbo_AT": 12,
                "Tele2_AT": 1,
                "yesss_AT": 69
            },
            "Total": 82
        }
    }
}
        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 provider - Optional parameter. Provider name. If not specified, a provider will be chosen randomly from the available ones.
{
  "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://simsms.org/api/rent.php?method=create_multi&apikey=yourapikeyhere&dtype=week&dcount=1&country=RU&services=opt6,opt7 dtype - type of time when renting: week (week) or month (month) dcount - count type of period, i.e. if dtype=week then counts of weeks country - country code of number services - service code provider - Optional parameter. Provider name. If not specified, a provider will be chosen randomly from the available ones.
{
  "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
  },{
    "id": 40371,             // ID of order
    "pnumber": "9096037108", // phone number without country code
    "ccode": "+7",           // digital country code
    "service": "opt7",       // 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;
| 开始 | 关闭 | 服务 | 恢复 | 行动 | 
|---|---|---|---|---|
| {{rentDateConverter(rent.begin)}} | {{rentDateConverter(rent.closed)}} | {{rentGetServiceByCode(rent.resourceCode)}} | {{rent.number}} | |
| 没有找到匹配的记录 | ||||