get tariffsRent
https://onlinesim.io/api/rent/tariffsRent.php
Retrieves information on available for rent numbers of specified country (or all of countries, if not specified): rental plans and other parameters of rent.
Unlike regular SMS receiving, rental implies a longer period of use. Also, unlike regular receiving, you can receive any number of SMS messages during the entire rental period from various senders: from websites and applications to SMS sent from regular mobile numbers.
If you initially chose a number with the prolongation option, you can prolong the rental at any time before it expires.
IMPORTANT NOTE! &br; Please note that some services are prohibited for use (and SMS from these services are not available), you can find the list of such services on the front page or in Public offer.
Security
Parameters
country
Country code (Е.164 standard, without "+" sign), see getNumbersStats
query
- stringExample:
"7"
Minimum string length:1
lang
Response language: fr
- French, de
- German, ru
- Russian, en
- English, zh
- Chinese
query
- stringExample:
"en"
Enum:fr
de
ru
en
zh
Responses
200
- Schema
- Examples
- objectExample:
{"code":46,"enabled":true,"new":true,"position":1,"count":{"\"period_in_days\"":20},"days":{"\"period_in_days\"":0},"extend":0,"confirm":true}
Properties:code
integerCountry code (Е.164 standard, without "+" sign)Example:46
>= 1
enabled
booleanAvailability of virtual numbers of a countryExample:true
new
booleanWas the country recently added to the listExample:true
position
integerPosition of a country in the list of our websiteExample:1
>= 0
count
objectContains information on the amount of available numbers for each available rental periodExample:{"\"period_in_days\"":20}
days
objectContains information on the price for each initial rental periodExample:{"\"period_in_days\"":0}
extend
integerAmount of available numbers for rent with prolongationExample:0
confirm
booleanExample:true