API referenceSections

The panel's outgoing mail server

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

GET /api/v1/tenants/{tid}/smtp

The panel's outgoing mail server (ADR 0057); provider tenant only. The password is never returned

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

Parameters

NameInTypeRequiredDescription
tidpathstringrequired

Responses

200 Settings

Content type: application/json

  • host string required
  • port integer required
  • security string required
    Allowed values: "starttls" "tls" "none" ""
  • username string required
  • from string required
  • from_name string required
  • password_set boolean required

    A password is stored; it is never returned

  • configured boolean required
Example
{
  "host": "string",
  "port": 0,
  "security": "starttls",
  "username": "string",
  "from": "string",
  "from_name": "string",
  "password_set": true,
  "configured": true
}

default Error

Content type: application/json

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