get getRentNum
https://onlinesim.io/api/rent/getRentNum.php
This request allows you to rent a number of a specific country for SMS receiving.
You can use this request when you need to receive messages from multiple different services or from a single one, but over a long time period.
IMPORTANT NOTES!
Please note that every new rent operation has a 20 minute guard time, during which SMS must be received by issued number. If you won't use the number within this timeframe the operation will be terminated automatically and the cost of rent will be refunded.
Also 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
- integerExample:
46
>= 1
days
Initial rental period (in days), see tariffsRent
query
- integerExample:
1
>= 1
extension
query
- boolean
pagination
query
- boolean
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
- objectProperties:
response
mixed1, if the request has been completed successfully, or an error messageExample:1
One Of:- integer
- string
item
object