Order a verification number
create_otp_orderBuy a number to receive an OTP: allocates a number, debits the wallet, and returns an orderId + phoneNumber. Then poll with poll_sms. If no code arrives, do NOT cancel to retry: simply call create_otp_order again for a fresh number and keep polling that one. Unfilled orders auto-refund within 10 minutes, so you only pay for codes that actually land and there is no penalty for ordering repeatedly. When a service keeps rejecting codes, order on the "us1" (Non-VoIP AT&T) pool, which has the highest delivery rate. WARNING: this spends real wallet balance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | Yes | Number pool to order from: "us1" = Non-VoIP AT&T (real carrier line, for strict services like WhatsApp/Telegram/Google), "us" = VoIP High Quality (lowest price, works for most signups), "uk" = United Kingdom (+44), "au" = Australia (+61). | |
| service | Yes | Service slug to receive the OTP for (e.g. "google", "telegram", "whatsapp"). |