POST
/api/address
Create a temporary address.
curl -X POST "https://tempmail-inbound.tuvuong2005azzz.workers.dev/api/address" \
-H "Content-Type: application/json" \
-d "{}"
{
"address": "mailxxxx@dmobot.store",
"local_part": "mailxxxx",
"domain": "dmobot.store"
}
GET
/api/inbox?address={address}
Poll inbox for an address.
curl "https://tempmail-inbound.tuvuong2005azzz.workers.dev/api/inbox?address=mailxxxx@dmobot.store"
GET
/api/email/{id}
Read message body. Use text_body first, fall back to raw_body.
curl "https://tempmail-inbound.tuvuong2005azzz.workers.dev/api/email/EMAIL_ID"
DELETE
/api/email/{id}
Delete a message after your tool finishes using it.
curl -X DELETE "https://tempmail-inbound.tuvuong2005azzz.workers.dev/api/email/EMAIL_ID"