firstix mail API
接收 *@firstix.cc 的所有郵件,透過 HTTP API 讀取。
Base URL
https://api.firstix.cc
端點
| 方法 / 路徑 | 說明 |
GET /emails | 列出信件(新到舊) |
GET /emails/:id | 取得單封信件 |
DELETE /emails/:id | 刪除單封信件 |
GET /health | 健康檢查 |
GET /emails 查詢參數
| 參數 | 說明 |
to | 依收件人 local part 過濾,例如 ?to=signup 只看 signup@firstix.cc |
from | 依寄件人位址模糊比對 |
since | 只取此毫秒時間戳之後的信 |
limit | 筆數(1–200,預設 50) |
offset | 位移 |
範例
curl "https://api.firstix.cc/emails"
# 只看寄到 signup@firstix.cc 的信
curl "https://api.firstix.cc/emails?to=signup"
# 依寄件人過濾
curl "https://api.firstix.cc/emails?from=github"
# 取得 / 刪除單封
curl "https://api.firstix.cc/emails/1"
curl -X DELETE "https://api.firstix.cc/emails/1"
收件地址是 catch-all:任何 local-part@firstix.cc 都會被收下並存起來,
不需要事先建立信箱。用 ?to= 區分不同用途的地址。