Get your free beta license ↗
API group · token scope mail

mail

These operations cover mail domains, mailboxes, forwarders, filters, and mailing lists. Webmail uses the API to change a mailbox's own password.

81 operations in this group. A token for them needs the mail scope; read is enough for GET.

GET/botmailGet the server's BotMail status and limitsmailGET/botmail/domainsList domains with local mail and their BotMail statusmailPUT/botmail/domains/{name}Enable BotMail for a domain or change its BotMail hostnamemailDELETE/botmail/domains/{name}Disable BotMail for a domainmailGET/botmail/keysList bot keys visible to the callermailGET/botmail/keys/{id}Get a bot key's rules and login statusmailPATCH/botmail/keys/{id}Update a bot key's rules or pause or resume the keymailDELETE/botmail/keys/{id}Revoke a bot keymailGET/botmail/keys/{id}/activityList activity for a bot keymailPOST/botmail/keys/{id}/addressIssue a new MCP URL for a bot keymailDELETE/botmail/keys/{id}/address/oldDisable a bot key's previous MCP URLmailGET/botmail/keys/{id}/webhookGet a bot key's webhook and delivery historymailPUT/botmail/keys/{id}/webhookCreate or update a bot key's webhookmailDELETE/botmail/keys/{id}/webhookDelete a bot key's webhookmailPOST/botmail/keys/{id}/webhook/resumeResume a bot key's paused webhookmailPOST/botmail/keys/{id}/webhook/testSend an immediate test ping to a bot key's webhookmailPOST/botmail/verifyVerify a bot key and retrieve its rulesmailGET/domains/{name}/mailGet the domain's mail settings and configuration statusmailPATCH/domains/{name}/mailUpdate the domain's mail settings and spam policymailGET/domains/{name}/mail/accountsList the domain's mailboxesmailPOST/domains/{name}/mail/accountsCreate a mailbox on the domainmailPATCH/domains/{name}/mail/accounts/{local}Update a mailbox or end its sessionsmailDELETE/domains/{name}/mail/accounts/{local}Delete a mailboxmailGET/domains/{name}/mail/accounts/{local}/bot-keysList a mailbox's bot keysmailPOST/domains/{name}/mail/accounts/{local}/bot-keysCreate a bot key for a mailboxmailPOST/domains/{name}/mail/accounts/{local}/webmailIssue a webmail sign-in ticket for a mailboxmailGET/domains/{name}/mail/checkCheck the domain's mail DNS recordsmailPOST/domains/{name}/mail/check/fixApply a fix offered by the domain's mail DNS checkmailPUT/domains/{name}/mail/default-addressSet how the domain handles mail for unknown recipientsmailPOST/domains/{name}/mail/dkim/rotateRotate the domain's DKIM keymailGET/domains/{name}/mail/filtersList mail filters for the domain and its mailboxesmailPOST/domains/{name}/mail/filtersCreate a mail filter for the domain or one of its mailboxesmailPATCH/domains/{name}/mail/filters/{id}Update a mail filtermailDELETE/domains/{name}/mail/filters/{id}Delete a mail filter from the domainmailGET/domains/{name}/mail/forwardersList the domain's forwardersmailPOST/domains/{name}/mail/forwardersCreate a forwardermailPATCH/domains/{name}/mail/forwarders/{local}Replace a forwarder's destinationsmailDELETE/domains/{name}/mail/forwarders/{local}Remove a forwardermailGET/domains/{name}/mail/greylistList sender domains with mail currently held by greylisting for this domainmailPOST/domains/{name}/mail/greylist/passRelease greylisted mail from a sender domainmailPOST/domains/{name}/mail/hold/checkCheck public DNS to lift a domain's mail holdmailDELETE/domains/{name}/mail/hold/noteDismiss the notice that a DNS check activated a domain's mailmailGET/domains/{name}/mail/listsList the domain's allow, block and nogreylist entriesmailPOST/domains/{name}/mail/listsAdd an entry to the domain's allow, block or nogreylist listmailPOST/domains/{name}/mail/lists/importImport entries into the domain's allow, block or nogreylist listmailDELETE/domains/{name}/mail/lists/{id}Delete an entry from the domain's mail sender listsmailPUT/domains/{name}/mail/smarthostSet the smarthost for the domain's outgoing mailmailDELETE/domains/{name}/mail/smarthostRemove the domain's smarthostmailGET/mailGet the server's mail stack status and configurationmailGET/mail/accounts/{address}/activityGet a mailbox's activity reportmailGET/mail/addressesList outgoing mail IP addresses and their reverse DNS namesmailGET/mail/checkCheck the server hostname's public mail records and outbound reverse DNSmailPOST/mail/check/fixApply a fix from the server hostname's mail record checkmailGET/mail/greylistList messages deferred by greylistingmailPOST/mail/greylist/{id}/passRelease a greylisted message for its next delivery attemptmailPOST/mail/installInstall and start the mail stackmailGET/mail/listsList entries in the server-wide mail sender listsmailPOST/mail/listsAdd an entry to a server-wide mail sender listmailPOST/mail/lists/importImport entries into a server-wide mail sender listmailDELETE/mail/lists/{id}Remove an entry from a server-wide mail sender listmailGET/mail/logRead recent or newly appended mail log linesmailGET/mail/queueList messages in the Postfix queuemailPOST/mail/queue/deleteDelete queued messages by queue ID or sendermailPOST/mail/queue/flushAsk Postfix to retry delivery of every queued message immediatelymailGET/mail/queue/{id}Get a queued Postfix message and its delivery logsmailDELETE/mail/queue/{id}Delete a message from the Postfix queuemailGET/mail/queue/{id}/deliverGet the progress of a traced delivery attemptmailPOST/mail/queue/{id}/deliverRequest immediate delivery of a queued messagemailPOST/mail/queue/{id}/holdHold a queued messagemailGET/mail/queue/{id}/messageRead the full contents of a queued messagemailPOST/mail/queue/{id}/releaseRelease a held message back into the queuemailPOST/mail/self/passwordChange a mailbox's password using its current credentialsmailPOST/mail/settingsSave one or more mail settings togethermailPUT/mail/smarthostSet the server's smarthost for outgoing mailmailDELETE/mail/smarthostRemove the server's smarthostmailGET/mail/statsGet mail statistics and the Postfix queue sizemailGET/mail/traceSearch the mail logs or trace a single messagemailGET/mail/trace/by-message-id/{mid}Trace a message by its Message-IDmailGET/mail/trace/reverseLook up reverse DNS names for IP addressesmailGET/mail/trace/{qid}Trace a message by its queue IDmailPOST/mail/webmail/releaseRelease a webmail sign-in ticket at logoutmail