Rent a phone number
rent_numberRent a phone number in a country for a period (get the periods and prices from get_rental_offers first). Debits the wallet and returns the number and when the rental ends. Read its SMS with read_rental_sms. WARNING: this spends real wallet balance; confirm the country, period and price with the user first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | Yes | Rental period: "oneDay" (1 day), "oneWeek" (1 week), "oneMonth" (1 month), "threeMonths" (3 months), "sixMonths" (6 months), "twelveMonths" (12 months). Not every period is on sale in every country: check get_rental_offers. | |
| country | Yes | Country to rent a number in: "us" (United States), "uk" (United Kingdom), "ca" (Canada), "au" (Australia), "es" (Spain), "se" (Sweden), "de" (Germany), "nl" (Netherlands), "it" (Italy), "pl" (Poland), "fi" (Finland), "pt" (Portugal), "be" (Belgium), "at" (Austria), "ch" (Switzerland), "cz" (Czechia), "si" (Slovenia), "lt" (Lithuania), "mx" (Mexico), "hk" (Hong Kong), "il" (Israel), "za" (South Africa). |