Sources › Temp mail › Mail.gw › Create

Mail.gw Create API

Buat alamat email sekali pakai.

Mail.gwGET /createAll plans1 Zap

Request

GET
https://api.zapi.ink/v1/temp-mail:mail-gw/create

Send your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope.

Parameters

No parameters. Call it as is.

Code examples

cURL
curl -X GET "https://api.zapi.ink/v1/temp-mail:mail-gw/create" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
JavaScript
const res = await fetch("https://api.zapi.ink/v1/temp-mail:mail-gw/create", {
  method: "GET",
  headers: {
    "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
  },
});
const data = await res.json();
console.log(data);
Python
import requests

res = requests.get(
    "https://api.zapi.ink/v1/temp-mail:mail-gw/create",
    headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"},
)
print(res.json())

Example response

200 OK · application/json
{
  "project": "temp-mail:mail-gw",
  "data": {
    "address": "zp1j6c673t1v4y@oakon.com",
    "createdAt": "2026-08-07T09:43:38+00:00",
    "expiresAt": "2026-08-15T17:43:38+00:00",
    "durationMinutes": 12000
  },
  "timestamp": "2026-08-07T13:52:57Z"
}

Frequently asked questions

How do I call the Mail.gw Create API?

Send a GET request to https://api.zapi.ink/v1/temp-mail:mail-gw/create with your Zapi key in the x-api-key header. It takes no parameters. The response is JSON in the { project, data, timestamp } envelope.

What does the Mail.gw Create API return?

Buat alamat email sekali pakai. The example response has the fields address, createdAt, expiresAt, durationMinutes.

Is the Mail.gw Create API free?

Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 1 Zap. Paid plans raise the limits.

Can an AI assistant call the Mail.gw Create API?

Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "mail-gw" and endpoint "create".

What other Mail.gw API endpoints are there?

It has 2 endpoints. Besides Create: Inbox.