Generate disposable inboxes and read messages over a simple REST API.
All /api/v1/* routes require an X-API-Key header.
Get a key from the "API ACCESS" section on the home page.
X-API-Key: tm_your_api_key_here
curl -X POST "https://YOUR-DOMAIN/api/v1/generate" \ -H "X-API-Key: tm_your_api_key_here"
{
"address": "x7f9a2b1c0@bladecloud.qzz.io",
"expiresAt": 1755590000000
}
curl "https://YOUR-DOMAIN/api/v1/inbox/x7f9a2b1c0@bladecloud.qzz.io" \ -H "X-API-Key: tm_your_api_key_here"
{
"address": "x7f9a2b1c0@bladecloud.qzz.io",
"expiresAt": 1755590000000,
"messages": [
{
"id": "b6e2...",
"from_addr": "sender@example.com",
"subject": "Verify your account",
"received_at": 1755589000000
}
]
}
curl "https://YOUR-DOMAIN/api/v1/message/b6e2..." \ -H "X-API-Key: tm_your_api_key_here"
{
"id": "b6e2...",
"from_addr": "sender@example.com",
"subject": "Verify your account",
"text_body": "Your code is 483920",
"html_body": "<p>Your code is <b>483920</b></p>",
"received_at": 1755589000000
}
curl -X POST "https://YOUR-DOMAIN/api/v1/keys"
{
"key": "tm_21a0255b42f77a5db06b1e647658d09b9ddb9d96deef33ec"
}
YOUR-DOMAIN above with your deployed Pages URL.