clearance.rest
Wait for the SMS, the email, or the captcha result.
clearance.rest holds your request open until it arrives, then answers with the code. No polling, and no webhook to host.
GET /numbers/sms/wait
number=+14155550100
code_regex=\d{6}
X-Service-Timeout: 120000
200 OK
The request is open. Nothing to return yet.
{
"success": true,
"code": "482913",
"from": "+15559998888",
"to": "+14155550100",
"body": "Your code is 482913",
"receivedAt": 1785107161430
}One request, one result
| Service | Request | Waits for | Returns |
|---|---|---|---|
| Numbers | GET /numbers/sms/wait | An SMS on a number you rent or attach | The message, and the code extracted from it |
| Emails | GET /emails/get-email | An email to an address you own or connect | The email, and the code extracted from it |
| Captchas | POST /captchas/resolve | A solver finishing your captcha task | The solver’s response, with a jobId |
Where to go next
- Authentication
- Send your project’s API key in the
X-API-Keyheader. - Timeouts
- How long a request waits, and how to bound it.
- Console
- Find your API key and watch your usage.