API referenceSections

The server's mail host and its certificate

Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication

GET /api/v1/tenants/{tid}/servers/{id}/mail-host

The server's mail host and its certificate (ADR 0039)

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

Parameters

NameInTypeRequiredDescription
tidpathstringrequired
idpathstringrequired

Responses

200 The mail host, or null when none is set

Content type: application/json

  • host MailHost | null optional
    • server_id string optional
    • hostname string optional
    • tls string optional
      Allowed values: "issuing" "renewing" "active" "failed"
    • not_after string (date-time) | null optional
    • error_code string optional
    • webmail string optional

      HTTPS address of webmail, empty until the certificate is installed

    • ports array<object> optional
      • protocol string optional
        Allowed values: "imap" "pop3" "smtp"
      • port integer optional
      • security string optional
        Allowed values: "ssl" "starttls"
Example
{
  "host": {
    "server_id": "string",
    "hostname": "string",
    "tls": "issuing",
    "not_after": "2026-01-01T00:00:00Z",
    "error_code": "string",
    "webmail": "string",
    "ports": [
      {
        "protocol": "imap",
        "port": 0,
        "security": "ssl"
      }
    ]
  }
}

default Error

Content type: application/json

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