Set a mailbox's autoresponder
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
PUT
/api/v1/tenants/{tid}/mail/domains/{did}/mailboxes/{mid}/autoresponderSet a mailbox's autoresponder (ADR 0072)
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
did | path | string | required | |
mid | path | string | required | |
X-CSRF-Token | header | string | optional | Required on unsafe requests authenticated by session cookie; API keys do not use it. |
Request body
required
Content type: application/json
enabledboolean requiredsubjectstring requiredOne line
- max length 200
bodystring requiredPlain text
- max length 8000
startstring optionalFirst day it replies, YYYY-MM-DD in the server's time zone; empty for no bound
endstring optionalLast day it replies, YYYY-MM-DD
Example
{
"enabled": true,
"subject": "string",
"body": "string",
"start": "string",
"end": "string"
}Responses
200 OK
Content type: application/json
idstring requireddomain_idstring requiredtenant_idstring requiredlocalstring requiredquota_mbinteger required0 is no limit
enabledboolean requiredforwardarray<string> requiredaliasesarray<string> requiredOther names before the @ in the same domain
size_kbinteger requiredFields of Autoresponder are shown above.
created_atstring (date-time) requiredupdated_atstring (date-time) required
Example
{
"id": "string",
"domain_id": "string",
"tenant_id": "string",
"local": "string",
"quota_mb": 0,
"enabled": true,
"forward": [
"string"
],
"aliases": [
"string"
],
"size_kb": 0,
"autoresponder": {
"enabled": true,
"subject": "string",
"body": "string",
"start": "string",
"end": "string"
},
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-01-01T00:00:00Z"
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required