# Temp Mail (tempmail.ing) — Zapi reference > Generate a disposable email address and read its inbox. **Base URL:** `https://api.zpi.web.id` **Auth:** Send `x-api-key: YOUR_KEY` header on every request. Get a free key at https://zpi.web.id/dashboard/keys. **Response envelope:** `{ status, message, content }` **Rate limit:** 60 req/min on free tier. **Related:** - Detail page: https://zpi.web.id/api/temp-mail/tempmail - Endpoint catalog: https://zpi.web.id/category/temp-mail - Concise index: https://zpi.web.id/llms.txt - Full reference: https://zpi.web.id/llms-full.txt --- ## Temp Mail (tempmail.ing) **Category:** temp-mail · **Slug:** `tempmail` **Detail page:** https://zpi.web.id/api/temp-mail/tempmail Generate a disposable email address and read its inbox. **Tags:** email, temp-mail, disposable, inbox ### Create address Generate a new disposable email address. - **Method:** `GET` - **Endpoint:** `https://api.zpi.web.id/v1/temp-mail:tempmail/create` **Parameters:** | Name | Type | Location | Required | Description | |------|------|----------|----------|-------------| | `duration` | number | query | no | Lifetime of the address in minutes (1-60). Default 10 | **cURL:** ```bash curl "https://api.zpi.web.id/v1/temp-mail:tempmail/create?duration=10" \ -H "x-api-key: YOUR_API_KEY" ``` **JavaScript / TypeScript:** ```javascript const res = await fetch("https://api.zpi.web.id/v1/temp-mail:tempmail/create?duration=10", { headers: { "x-api-key": process.env.ZAPI_KEY } }); const data = await res.json(); ``` **Python:** ```python import requests r = requests.get("https://api.zpi.web.id/v1/temp-mail:tempmail/create?duration=10", headers={"x-api-key": "YOUR_API_KEY"}) data = r.json() ``` **Example response:** ```json { "address": "mrwcqeq5sd61@animateany.com", "createdAt": "2026-07-22T17:23:58.369Z", "expiresAt": "2026-07-22T17:33:58.360Z", "durationMinutes": 10 } ``` --- ### Read inbox Read messages received by a disposable address. - **Method:** `GET` - **Endpoint:** `https://api.zpi.web.id/v1/temp-mail:tempmail/inbox/:address` **Parameters:** | Name | Type | Location | Required | Description | |------|------|----------|----------|-------------| | `address` | string | path | yes | The disposable address to read (as returned by create). | **cURL:** ```bash curl "https://api.zpi.web.id/v1/temp-mail:tempmail/inbox/:address" \ -H "x-api-key: YOUR_API_KEY" ``` **JavaScript / TypeScript:** ```javascript const res = await fetch("https://api.zpi.web.id/v1/temp-mail:tempmail/inbox/:address", { headers: { "x-api-key": process.env.ZAPI_KEY } }); const data = await res.json(); ``` **Python:** ```python import requests r = requests.get("https://api.zpi.web.id/v1/temp-mail:tempmail/inbox/:address", headers={"x-api-key": "YOUR_API_KEY"}) data = r.json() ``` **Example response:** ```json { "count": 0, "items": [], "address": "mrwcqeq5sd61@animateany.com" } ``` --- _Generated: 2026-08-08T02:22:13.560Z_