Get a number
get_numberBuy a disposable phone number for any service in any country to receive SMS/OTP codes. If no code arrives in 20 minutes, the order auto-refunds.
Instructions
Buy a phone number for a service in a country and return it. THIS CHARGES the reseller balance immediately (pay-per-code). If no code arrives within 20 minutes the order auto-refunds; you can also release() it early to refund now. Poll for the code with wait_for_otp using the returned order_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| band | No | Delivery tier. "priority" is a higher-reliability, pricier tier. Default "standard". | |
| country | Yes | Country code, e.g. "6". Use list_countries/list_services to find it. | |
| service | Yes | Service code, e.g. "tg" (Telegram), "wa" (WhatsApp). | |
| max_price_cents | No | Refuse if the number would cost more than this (US cents). Overrides the server default. |