TempMail API

Disposable Email At Scale

Create temporary inboxes, receive messages, and extract OTP codes via a clean REST API. Free with your API key. No credits deducted. Commercial use allowed.

Credits Tool Licenses Email Warmup TempMail API Converter API
Instant Inbox
Credits Never Expire
REST API
Private & Secure
Multiple Domains

Everything for Disposable Email

Four clean REST endpoints — create, receive, read, and delete.

Create Inbox

Generate a random or custom disposable email address instantly via API.

Get Messages

Poll the inbox for incoming messages. Returns full metadata list.

Read Message

Read full HTML or plain-text body. Perfect for OTP/verification code extraction.

Delete Inbox

Clean up early. Deletion is free — no credits charged.

24h Lifetime

Inboxes stay alive for 24 hours then auto-expire and self-clean.

Secure Tokens

Each inbox has a private token — only the holder can read its messages.

# 1. Create a disposable inbox
curl -X POST /api/tempmail/accounts \
  -H "X-API-Key: your_key"
# → {"email":"abc123@zphantom.com","token":"tok_xxx"}
# 2. Check for messages
curl /api/tempmail/messages \
  -H "X-API-Key: your_key"
# → {"messages": [{"id":"msg_1","subject":"Your OTP","from":"..."}]}

TempMail API is Free

No credits deducted. No usage limits. Just get an API key from the portal and start calling.

🎉
FREE
/call
  • Create unlimited inboxes
  • Receive & read messages
  • Extract OTP codes
  • Commercial use allowed
  • Runs on our own mail servers
Get Free API Key
Sign in to portal → Account → API Keys

Common questions

Is the API really free?
Yes. Calls don't use credits. You just need an API key from your account.
Is there a rate limit?
Yes, each key has a rate limit to keep the service fair for everyone. It's high enough for normal testing and production use.
Can I use it in a commercial product?
Yes, commercial use is allowed.
How do I get an API key?
Log in to your account, open API Keys and click Create. The key works straight away.