API referenceSections

The app's .env variables, without secret values

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}/php-app/env

The app's .env variables, without secret values

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

Parameters

NameInTypeRequiredDescription
tidpathstringrequired
idpathstringrequired

Responses

200 Variables

Content type: application/json

  • restarting boolean required

    Saving started the running release again to apply the variables

  • revision integer required

    0 until the variables are first saved

  • updated_at string (date-time) | null required
  • vars array<object> required
    • name string required
    • value string optional

      Left out for a secret: secrets are write-only

    • secret boolean required
    • has_value boolean required
Example
{
  "restarting": true,
  "revision": 0,
  "updated_at": "2026-01-01T00:00:00Z",
  "vars": [
    {
      "name": "string",
      "value": "string",
      "secret": true,
      "has_value": true
    }
  ]
}

default Error

Content type: application/json

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