API referenceSections

The site's FTPS/SFTP accounts and how to connect

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

GET /api/v1/tenants/{tid}/sites/{id}/ftp

The site's FTPS/SFTP accounts and how to connect (ADR 0040)

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

Parameters

NameInTypeRequiredDescription
tidpathstringrequired
idpathstringrequired

Responses

200 Accounts

Content type: application/json

  • accounts array<FTPAccount> required
    • id string required
    • tenant_id string required
    • site_id string required
    • server_id string required
    • username string required
    • home string required

      Folder under the site's public root; empty for all of it

    • read_only boolean required
    • enabled boolean required
    • created_at string (date-time) required
    • updated_at string (date-time) required
  • connect object required
    • enabled boolean required
    • host string required
    • ftps boolean required
    • sftp_port integer required
    • ftp_port integer required
    • host_key string required
Example
{
  "accounts": [
    {
      "id": "string",
      "tenant_id": "string",
      "site_id": "string",
      "server_id": "string",
      "username": "string",
      "home": "string",
      "read_only": true,
      "enabled": true,
      "created_at": "2026-01-01T00:00:00Z",
      "updated_at": "2026-01-01T00:00:00Z"
    }
  ],
  "connect": {
    "enabled": true,
    "host": "string",
    "ftps": true,
    "sftp_port": 0,
    "ftp_port": 0,
    "host_key": "string"
  }
}

default Error

Content type: application/json

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