Generate a disposable email address and read its inbox.
Generate a new disposable email address.
/v1/temp-mail:tempmail/createno cache1 paramchecking key…// npm i zpi-sdk
import { ZpiClient } from "zpi-sdk";
const client = new ZpiClient({ apiKey: "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" });
const data = await client.run("temp-mail:tempmail", "create", {
"duration": 10
});
console.log(data);/v1/temp-mail:tempmail/createGenerate a new disposable email address.
durationnumberoptionalcurl -X GET "https://api.zpi.web.id/v1/temp-mail:tempmail/create?duration=10" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"{
"address": "[email protected]",
"createdAt": "2026-07-22T17:23:58.369Z",
"expiresAt": "2026-07-22T17:33:58.360Z",
"durationMinutes": 10
}/v1/temp-mail:tempmail/inbox/:addressRead messages received by a disposable address.
addressstringrequiredin pathcurl -X GET "https://api.zpi.web.id/v1/temp-mail:tempmail/inbox/mrvvtfyf5vke%40oldtranslator.com" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"{
"count": 0,
"items": [],
"address": "[email protected]"
}