API Documentation
// REST API FOR DEVELOPERS & BOT INTEGRATION
BASE_URL = https://tmailku.com
Dapatkan API Key gratis secara mandiri untuk integrasi bot Telegram, skrip automasi Python, cURL, maupun pengujian backend tanpa harus login ke dashboard admin.
Generates a random unique username (adj+noun+number) suitable for temporary emails.
Returns all verified domains available for creating email addresses.
Returns public verified domains for random email generation.
Checks DNS MX record for a domain and auto-registers it if verified.
Returns all emails received at the specified address. No authentication required.
Server-Sent Events stream for real-time email notifications. Receives 'new-email' events when a new email arrives.
Authenticated version. Requires X-API-Key header.
Returns only the most recent email for the given address. Useful for bots waiting for verification codes.
Get a specific email by ID, including attachments list. Marks the email as read.
Permanently deletes an email and its attachments from the server.
If your domain is configured as a Private Domain via TXT record, provide the X-Domain-Key header or key parameter to access its inbox.
Open a Server-Sent Events stream for a private domain address by appending the key parameter.
Receives instant push notifications for ALL emails sent to any custom domain sharing the same tmail-key.
Generates a new email address on any system domain, including domains set to private visibility. Supports custom or random username and domain.
Fetches all incoming emails for the given address (including private domains). You can also use /api/emails/:address with the X-Admin-Password header.
Returns the single most recent email for a private domain address. Ideal for OTP automation bots.
Injects or creates an incoming email directly into the target inbox via REST API without requiring SMTP port 25, complete with instant SSE realtime broadcast.