Temp mail API
in any language.
Copy-paste snippets to create a disposable inbox, poll it over HTTP, and pull the verification code — with one API key. Pick your language.
Languages
How it works
01
Create an inbox
POST to /api/temp-email with your API key. You get a real address and a session token.
02
Poll for the email
GET the inbox every few seconds until your verification message arrives.
03
Extract the code
Read the message body and regex the one-time code — then continue your test or flow.
Temp mail via API is the clean way to test signup, verification and password-reset flows without a real inbox or a shared account. Every call is a stateless HTTP request with an X-API-Key header, so it drops into any test runner or CI pipeline. Read the full API reference →

