Перейти к основному содержанию

TempMail101 for Developers

Integrate temporary email generation into your applications with our developer-first API

View API Docs

Quick Start

JavaScript/Node.js

// Install the SDK
npm install @tempmail101/sdk

// Create temporary email
import { TempMail } from '@tempmail101/sdk'

const client = new TempMail('YOUR_API_KEY')
const email = await client.createEmail()

console.log(email.address) // random@tempmail101.com

// Get messages
const messages = await client.getMessages(email.address)
console.log(messages)

Python

# Install the SDK
pip install tempmail101

# Create temporary email
from tempmail101 import TempMail

client = TempMail(api_key='YOUR_API_KEY')
email = client.create_email()

print(email.address)  # random@tempmail101.com

# Get messages
messages = client.get_messages(email.address)
print(messages)

Developer Use Cases

Automated Testing

Generate temporary emails for end-to-end testing, QA automation, and CI/CD pipelines.

// Generate email for test user
const testEmail = await fetch('/api/tempmail/create')
const { email } = await testEmail.json()

// Use in your test suite
cy.get('[data-cy=email-input]').type(email)

User Onboarding

Streamline user registration flows with instant email verification without exposing real emails.

// Create temporary email for demo users
const demoAccount = {
  email: await generateTempEmail(),
  role: 'demo_user'
}

// Perfect for product demos

Privacy Protection

Protect your users' real email addresses during signup flows and form submissions.

// Protect user privacy
const protectedEmail = await createTempEmail({
  prefix: 'protected',
  retention: '7d'
})

Email Verification

Verify email addresses in your applications without sending to real inboxes.

// Verify email format and deliverability
const verification = await verifyEmail(email)
if (verification.isValid) {
  // Proceed with registration
}

Why Developers Choose TempMail101

RESTful API

Clean, intuitive REST API with comprehensive documentation and code examples.

Fast Response

Sub-100ms response times powered by Cloudflare Edge network worldwide.

Secure by Design

HTTPS-only, encrypted storage, automatic data deletion, and GDPR compliant.

Developer-Friendly

SDKs for popular languages, detailed docs, and responsive developer support.

Developer-Friendly Pricing

Free Tier

$0

Perfect for development & testing

  • 100 API calls/hour
  • 24-hour email retention
  • Standard domains
  • Community support
Most Popular

Developer Pro

$29

For production applications

  • 10,000 API calls/hour
  • 7-day email retention
  • Custom domains
  • Webhook support
  • Priority support

Enterprise

Custom

For high-volume applications

  • Custom rate limits
  • Extended retention
  • White-label option
  • SLA guarantee
  • Dedicated support

Ready to Get Started?

Join thousands of developers who trust TempMail101 for their temporary email needs