REST API Documentation
Integrate ephemeral email functionality directly into your software, testing pipelines (Cypress, Playwright), and automated workflows. Completely open CORS with edge routing.
Open CORS & Zero Auth
No API keys or JWT tokens required. Access all endpoints directly from browser scripts, CLI, or backend services.
Cloudflare Edge
Sub-50ms execution via globally distributed serverless workers. High throughput with automatic DDoS filtering.
Ephemeral D1 Storage
Messages are stored in high-speed SQLite on the edge, with scheduled background expiration for strict privacy.
Fetches up to 50 of the latest received messages for a specific email address.
Query Parameters
addressstringrequiredResponse 200 (OK)
Retrieves the full email content including raw HTML body, plain text fallback, and parsed attachment metadata.
Path Parameters
idstringrequiredcurl -X GET "https://tempmailo.com/api/emails/c7a8b9-1234-5678"Response 200 (OK)
Permanently purges an email and all linked attachments from the ephemeral database immediately.
curl -X DELETE "https://tempmailo.com/api/emails/c7a8b9-1234-5678"{
"success": true
}Interactive API Tester
Test queries directly in your browser against the live backend API.