Disposable inbound-OTP email API
Disposable email for
verification codes, via API.
OneForMail instantly issues a disposable email address for your sign-up, verification and OTP flows, then reads the incoming code over an API. No outbound mail — inbound OTP only. You only pay for codes you actually receive.
example.sh
# 1) Get a disposable email address (holds from balance) curl "https://oneformail.com/get_mail?api-key=$KEY&domain=mail&from=twitch.tv" # → { "mail": "abc@mail.com", "charged": 0.002 } # 2) Read the incoming OTP (captured once the code arrives) curl "https://oneformail.com/get_otp?api-key=$KEY&mail=abc@mail.com" # → { "subject": "522322 - Your code", "pending": false }
How it works
Inbound OTP in three steps
Get a mail address
A /get_mail call issues a disposable email address for your target site and reserves $0.002 from your balance.
Read the OTP
/get_otp scans the inbox for ~80s and returns the verification code. The charge is captured once the code arrives.
Pay only on success
If no code ever arrives, /release or an automatic TTL frees the hold. You only pay for the OTPs you receive.