API referenceSections

Everything the account needs to connect - panel, DNS, FTP, mail - and whether the domain points here

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

GET /api/v1/tenants/{tid}/connection-info

Everything the account needs to connect - panel, DNS, FTP, mail - and whether the domain points here

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

Parameters

NameInTypeRequiredDescription
tidpathstringrequired

Responses

200 Connection info

Content type: application/json

  • account_name string required
  • domain string required
  • panel_url string required
  • connection_url string required
  • server_name string required
  • server_ip string required
  • nameservers array<string> required
  • records array<object> required
    • name string required
    • type string required
    • value string required
  • site object | null required
    • id string required
    • hostname string required
    • status string required
    • https string required
    • verified boolean required
    • verify_name string required
    • verify_value string required
    • php string required
  • dns object | null required
    • points boolean | null required
    • addresses array<string> required
    • expected string required
    • zone_id string required
    • zone_state string required
  • ftp object | null required
    • enabled boolean required
    • host string required
    • ftp_port integer required
    • sftp_port integer required
    • ftps boolean required
    • username string required
    • host_key string required
  • mail object | null required
    • domain string required
    • host string required
    • tls string required
    • webmail string required
    • imap MailPort required
      • port integer required
      • security string required
        Allowed values: "ssl" "starttls"
    • pop3 MailPort required

      Fields of MailPort are shown above.

    • smtp MailPort required

      Fields of MailPort are shown above.

    • mailbox string required
  • kit AccountKit | null required
    • tenant_id string required
    • plan_id string required
    • server_id string required
    • domain string required
    • owner_email string required
    • lang string required
      Allowed values: "vi" "en"
    • settings KitSettings required

      What a plan sets up when an account is made (ADR 0059). A plan without settings sends only the welcome email.

      • site boolean required

        A website for the primary domain with www and a placeholder page; HTTPS once DNS points here

      • runtime string required

        The site's default runtime; must be in the plan

        Allowed values: "static" "php" "aspnet"
      • ftp boolean required

        One FTP/SFTP account on the site root; needs site

      • dns boolean required

        A zone from the template on the server's DNS

      • mail boolean required

        Mail for the domain with DKIM, SPF and DMARC

      • mailbox string required

        admin@domain, or admin@ (+postmaster, webmaster, abuse) forwarded to the owner's email

        Allowed values: "none" "admin" "forward"
      • welcome boolean required

        Email the owner the set-password link and connection details

      • welcome_billing boolean optional

        Also send the welcome email for accounts made through the provisioning API (default false: billing systems send their own)

    • steps array<KitStep> required
      • id string required
        Allowed values: "owner" "site" "runtime" "placeholder" "ftp" "dns" "verify" "www" "https" "mail" "mailbox" "welcome"
      • state string required
        Allowed values: "pending" "waiting" "done" "failed" "skipped"
      • code string required

        What a waiting step waits for, or why a step failed or was skipped

      • ref string optional
      • detail string optional
      • attempts integer required
      • updated_at string (date-time) required
      • since string (date-time) | null optional
    • state string required
      Allowed values: "running" "done" "stopped"
    • created_at string (date-time) required
    • updated_at string (date-time) required
    • next_at string (date-time) required
    • summary KitSummary required
      • state string required
        Allowed values: "running" "done" "stopped"
      • done integer required
      • total integer required
      • waiting integer required
      • failed integer required
    • secrets array<string> required

      Passwords made by the kit that can still be shown once

      Allowed values: "ftp" "mailbox"
Example
{
  "account_name": "string",
  "domain": "string",
  "panel_url": "string",
  "connection_url": "string",
  "server_name": "string",
  "server_ip": "string",
  "nameservers": [
    "string"
  ],
  "records": [
    {
      "name": "string",
      "type": "string",
      "value": "string"
    }
  ],
  "site": {
    "id": "string",
    "hostname": "string",
    "status": "string",
    "https": "string",
    "verified": true,
    "verify_name": "string",
    "verify_value": "string",
    "php": "string"
  },
  "dns": {
    "points": true,
    "addresses": [
      "string"
    ],
    "expected": "string",
    "zone_id": "string",
    "zone_state": "string"
  },
  "ftp": {
    "enabled": true,
    "host": "string",
    "ftp_port": 0,
    "sftp_port": 0,
    "ftps": true,
    "username": "string",
    "host_key": "string"
  },
  "mail": {
    "domain": "string",
    "host": "string",
    "tls": "string",
    "webmail": "string",
    "imap": {
      "port": 0,
      "security": "ssl"
    },
    "pop3": {
      "port": 0,
      "security": "ssl"
    },
    "smtp": {
      "port": 0,
      "security": "ssl"
    },
    "mailbox": "string"
  },
  "kit": {
    "tenant_id": "string",
    "plan_id": "string",
    "server_id": "string",
    "domain": "string",
    "owner_email": "string",
    "lang": "vi",
    "settings": {
      "site": true,
      "runtime": "static",
      "ftp": true,
      "dns": true,
      "mail": true,
      "mailbox": "none",
      "welcome": true,
      "welcome_billing": true
    },
    "steps": [
      {
        "id": "owner",
        "state": "pending",
        "code": "string",
        "ref": "string",
        "detail": "string",
        "attempts": 0,
        "updated_at": "2026-01-01T00:00:00Z",
        "since": "2026-01-01T00:00:00Z"
      }
    ],
    "state": "running",
    "created_at": "2026-01-01T00:00:00Z",
    "updated_at": "2026-01-01T00:00:00Z",
    "next_at": "2026-01-01T00:00:00Z",
    "summary": {
      "state": "running",
      "done": 0,
      "total": 0,
      "waiting": 0,
      "failed": 0
    },
    "secrets": [
      "ftp"
    ]
  }
}

default Error

Content type: application/json

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