← Back to 3TempMail

📡 API Documentation

Use our public API to generate temporary emails programmatically

POST Generate Temporary Email

/api/public/generate

Generate a new random temporary email address with password. Optionally specify domain in the request body.

GET Get Inbox

/api/public/inbox/:email

Retrieve all emails received by the specified address. Returns array of email objects.

GET Get Available Domains

/api/public/domains

List all active domains. Returns array of { domain } objects.

POST Send Test Email (Dev)

/api/inbox/receive

Send a test email for development. Body: { to, from, subject, body }

🔑 Authentication

Include x-api-key header for rate limit tracking. Rate limit: 30 requests/minute per API key.