Test mode
Build against sandbox data with tm_test_ keys.
A tm_test_ key only ever sees sandbox inboxes on a dedicated test domain. Nothing it does counts toward your e-mail or inbox limits or billing; requests are metered on a separate test counter against the same monthly cap, and the per-second rate limit still applies, so load tests behave realistically.
Every test inbox you create already has one fixture message waiting, no setup required:
{
"from": "Specinbox Fixtures <[email protected]>",
"subject": "Your verification code is 424242",
"text": "Your verification code is 424242\n\nVerify: https://example.com/verify?code=424242\n"
}Need a specific message instead — testing a particular subject line, or simulating a second e-mail arriving? Inject one directly (test keys only):
curl -s https://devapi.temp-mail.lol/v1/test/inboxes/inb_sandbox1/messages \
-H "Authorization: Bearer tm_test_YOUR_KEY" \
-H "Content-Type: application/json" \
-X POST \
-d '{"subject": "Reset your password", "text": "Click the link to continue."}'This also fires a message.received webhook event to any endpoint registered in test mode — handy for testing your webhook handler without waiting on real mail.