Create Mailbox
POST /mailboxes
Connect an existing mailbox over IMAP/SMTP.
Credentials are write-only — they are stored encrypted and never returned by this or any other endpoint. Google/Microsoft mailboxes need the browser OAuth flow and cannot be connected here.
Routes to the same CreateMailboxHandler the in-app “add mailbox” screen
uses, so validation and provider detection behave identically.
Authorizations
Parameters
Header Parameters
Request Body required
Connect an existing mailbox over IMAP/SMTP.
Google/Microsoft mailboxes are not connectable through this endpoint: OAuth needs a browser redirect that an API call cannot complete on its own. Connect those in the app for now.
object
Max sends per day for this mailbox
The mailbox address, e.g. [email protected]
IMAP host, e.g. imap.acme.com
Write-only. Never returned by any endpoint.
SMTP host, e.g. smtp.acme.com
Write-only. Never returned by any endpoint.
Responses
201
Successful Response
object
A sending mailbox. Credentials are never returned.
object
422
Validation Error