Skip to content

Get the .env variables for an app

GET
/apps/{slug}/env
curl --request GET \
--url https://your-server.example/api/apps/example/env \
--cookie session=<session>

Manage and super_admin users get values. Viewers get every key with value: "" and masked: true.

slug
required
string

App slug (lowercase, dash-separated).

Env variables.

Media typeapplication/json
Array<object>
object
key
string
value

Empty for viewers.

string
masked

True when the value is withheld (viewers).

boolean

Example

[
{
"key": "DB_PASSWORD",
"value": "",
"masked": true
}
]