Free Numbers Pricing Reviews Feedback Terms & Policy API Docs Blog About
Log in Get Started
0 views 2 min read
Back to Blog
API & Developers

Temporary Email OTP API: Receive Verification Emails with OtpGet

Temporary Email OTP API: Receive Verification Emails with OtpGet

Not every service verifies by SMS. Many send a code or a link to an email address. For those, OtpGet offers an Email OTP API: you buy a temporary email address for a service, and the verification message is delivered back to you by API.

The email endpoint

https://otpget.com/stubs/email-handler.php?api_key=YOUR_API_KEY&action=ACTION_NAME

The actions

  • getBalance - your wallet balance
  • getEmailServices - services you can register for with a temporary email
  • getEmailDomains - the available email domains
  • getPrice - the price for a service
  • buyEmail - buy an address
  • getEmailCode - read the code or message that arrived
  • cancelEmail - cancel for a refund when nothing arrived
  • reorderEmail - order the same address again for another message
  • getEmailHistory - your past email orders

The flow

  1. Pick a service and a domain, then buy an address.
  2. Type that address into the target app.
  3. Call getEmailCode until the message arrives.
  4. If nothing arrives, cancel and your balance is returned.

When email beats SMS

  • Apps that offer email sign-up as the main option.
  • Accounts you create in bulk where numbers would be expensive.
  • Cases where a number was already used on a service.

Automation tip

Our servers also complete email orders in the background, independent of your browser, so a code can be captured even if your script disconnects. Always read the final result with getEmailCode or from your history.

Start building with OtpGet

Create a free account at otpget.com, copy your API key from the dashboard and open the API documentation. Our support team is available 24/7 if you get stuck.

Tags

#email OTP API #temporary email API #buyEmail #getEmailCode #disposable email verification
Contact us