Wait for SMS
wait_for_smsBlocks until the first SMS/OTP code arrives on a rented number, then returns the code. Provides timeout and polling interval to control the wait.
Instructions
Block until the first SMS/OTP code arrives on a rental, or time out. The one-step way to rent a number and get the code in an automated flow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rentalId | Yes | The rentalId returned by rent_number. | |
| timeoutMs | No | Max time to wait, in ms. | |
| intervalMs | No | Poll interval, in ms. |