Integrate TempMail101 into your applications
Our API allows you to programmatically create temporary email addresses and retrieve messages. All requests are made over HTTPS for security.
Base URL: https://api.tempmail101.com/v1
API access requires an API key. Include your key in the Authorization header with every request.
Authorization: Bearer YOUR_API_KEY Content-Type: application/json
POST /emails
Creates a new temporary email address with optional custom prefix.
{ "domain": "tempmail101.com", "prefix": "custom-prefix" // optional }
GET /emails/{email}/messages
Retrieves all messages for a specific email address.
DELETE /emails/{email}
Deletes a temporary email address and all associated messages.
// Create a temporary email const response = await fetch('https://api.tempmail101.com/v1/emails', { method: 'POST', headers: { 'Authorization': 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json' }, body: JSON.stringify({ domain: 'tempmail101.com' }) }); const data = await response.json(); console.log(data.email); // temporary email address
import requests # Create a temporary email response = requests.post( 'https://api.tempmail101.com/v1/emails', headers={ 'Authorization': 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json' }, json={'domain': 'tempmail101.com'} ) data = response.json() print(data['email']) # temporary email address
API requests are limited to ensure fair usage and service stability for all users.