nex_sms_code_get
Retrieve an SMS verification code for a purchased phone number, polling up to 120 seconds until a new code arrives. Filter by received time or ignore existing codes before reading.
Instructions
Read the latest SMS and code of one purchased number. waitSeconds (max 120) polls until a code arrives or the number stops waiting. receivedAfter (ISO time with timezone of the current send) ignores earlier SMS and SMS without a valid time; onlyNew ignores codes already present at the first pull. To type the code into a page, use nex_sms_code_fill.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tel | Yes | ||
| onlyNew | No | ||
| waitSeconds | No | ||
| receivedAfter | No |