/mailboxes/create
1 credit
Create a mailbox
Mints an address on mailsbyte.online or temp.mailsbyte.me. Lifetime is 30 minutes (Premium can set 10 minutes–1 hour and a custom local-part). Also accepted at POST /api/v1/mailboxes.
| Body | Notes |
|---|---|
domain | Optional. Use temp.mailsbyte.me. |
local | Optional alias. Premium only. |
ttl_seconds | Default 1800. Capped at 3600. |
mode | random (default) or alias. |
curl -X POST https://mailsbyte.me/api/v1/mailboxes/create \
-H "Authorization: Bearer mb_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"ttl_seconds":1800}'
{
"domain": "temp.mailsbyte.me",
"ttl_seconds": 1800,
"mode": "random"
}
{
"ok": true,
"address": "kd32t56egi@temp.mailsbyte.me",
"session_token": "sess_…",
"created_at": 1786382412,
"expires_at": 1786384212,
"ttl_seconds": 1800,
"pool": "temp",
"mode": "random"
}
