API referenceSections

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}/autoresponder

Set a mailbox's autoresponder (ADR 0072)

Authentication: session cookie __Host-panel_session (contract default; see Authentication).

Parameters

NameInTypeRequiredDescription
tidpathstringrequired
didpathstringrequired
midpathstringrequired
X-CSRF-Tokenheaderstringoptional

Required on unsafe requests authenticated by session cookie; API keys do not use it.

Request body

required

Content type: application/json

  • enabled boolean required
  • subject string required

    One line

    • max length 200
  • body string required

    Plain text

    • max length 8000
  • start string optional

    First day it replies, YYYY-MM-DD in the server's time zone; empty for no bound

  • end string optional

    Last day it replies, YYYY-MM-DD

Example
{
  "enabled": true,
  "subject": "string",
  "body": "string",
  "start": "string",
  "end": "string"
}

Responses

200 OK

Content type: application/json

  • id string required
  • domain_id string required
  • tenant_id string required
  • local string required
  • quota_mb integer required

    0 is no limit

  • enabled boolean required
  • forward array<string> required
  • aliases array<string> required

    Other names before the @ in the same domain

  • size_kb integer required
  • autoresponder Autoresponder optional

    Fields of Autoresponder are shown above.

  • created_at string (date-time) required
  • updated_at string (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

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required