Welcome to the Disposable Mail Hub API.
Our API allows developers to generate temporary email addresses and retrieve incoming emails programmatically for testing, automation, and privacy-focused workflows.
The Disposable Mail Hub API provides secure access to temporary email inboxes.
It is designed for:
Developers & QA testers
SaaS product testing
Automation workflows
Privacy-focused applications
⚠️ Note: The API is for receiving emails only. Sending emails is not supported.
Generate disposable email addresses
Fetch incoming emails in real time
No personal data required
Fast & lightweight REST API
Ideal for testing & development
(Replace with your actual API domain if different)
Currently, the API supports:
Public access (no authentication) for basic usage
Optional API key authentication for higher limits or premium access
Endpoint
Description
Creates a new temporary email address instantly.
Response Example
Endpoint
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| string | Yes | Disposable email address |
Example Request
Response Example
Endpoint
Parameters
| Parameter | Type | Required |
|---|---|---|
| string | Yes | |
| message_id | string | Yes |
Response Example
Endpoint
Description
Deletes a specific message from the inbox.
To ensure fair usage:
Free tier: 50 requests per hour
Premium users: Higher limits available
Excessive requests may result in temporary IP blocking.
Disposable email addresses are temporary
All messages are automatically deleted after expiration
Expired emails cannot be recovered
✅ Website testing
✅ App verification testing
✅ QA & automation
✅ Temporary sign-ups
✅ Privacy protection
❌ Illegal activities
❌ Fraud or abuse
❌ Spamming services
❌ Bypassing security systems
Violation may result in API access suspension.
No personal data is collected
Emails are deleted automatically
No tracking or profiling
HTTPS encryption supported
For more details, see our Privacy Policy.
| Error Code | Meaning |
|---|---|
| 400 | Invalid request |
| 404 | Email not found |
| 429 | Rate limit exceeded |
| 500 | Server error |
API uptime: 99.9%
Status updates available on the Status Page
📩 Support Email: support@disposablemailhub.com
(Replace with your real support email)
Is the API free to use?
Yes, basic usage is free with optional premium plans.
Can I use this API in production?
Yes, but disposable emails should not be used for sensitive accounts.
Do you log API requests?
Minimal logs are kept for performance and abuse prevention only.