Mailboxes
Create a mailbox
Creates a project-scoped mailbox local part. Without ProjectDomain effective custom mailbox addresses, the managed address is <slug>@<project-mail-host>.mail.run402.com. When ProjectDomain marks a custom mailbox address effective, the primary address is <slug>@<custom-domain> and managed_address remains a receive-compatible fallback. Reusing the same slug on another project is allowed; same-project active/suspended duplicates still return 409. Up to 5 mailboxes per project (flat across all tiers).
post/mailboxes/v1
Request
- Base URL: https://api.run402.com
- URL: https://api.run402.com/mailboxes/v1
- Auth: HTTP bearer
Request body
Response
Mailbox created
Example response
{
"mailbox_id": "mbx_1780076428285_dlnfqq",
"address": "notifications@kysigned3.mail.run402.com",
"managed_address": "notifications@kysigned3.mail.run402.com",
"project_id": "prj_1741340000_0042",
"address_domain": "kysigned3.mail.run402.com",
"managed_domain": "kysigned3.mail.run402.com",
"next_action": {
"method": "POST",
"path": "/tiers/v1/hobby",
"auth": "x402"
},
"next_actions": [
{
"method": "POST",
"path": "/tiers/v1/hobby",
"auth": "x402"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.