Platform
Read a custom deployment's environment variables
Returns the deployment's env vars split into what you own and what the platform owns:
- vars — your variables, editable.
- managed — set by the platform (DOMAIN_URL, HOST_PORT, …). Read only; they are how the reverse proxy and the container agree on a route.
- managed_keys — the full list of names the platform reserves.
Values that look like secrets come back masked. Round-tripping a masked value through POST is safe: the mask token is read as "unchanged", so you can edit one variable without knowing the others.
get/platform/deployments/custom/{id}/vars
Request
- Base URL: https://api.imprezahost.com/v1
- URL: https://api.imprezahost.com/v1/platform/deployments/custom/{id}/vars
- Auth: API key in header X-API-Key and API key in header X-API-Secret
Path parameters
idstring required
Response
Environment variables
Example response
{
"success": true,
"data": {
"vars": {
"SMTP_HOST": "mail.example.com",
"SMTP_PASSWORD": "********"
}
},
"meta": {
"request_id": "req_a1b2c3d4e5f6g7h8",
"timestamp": "2026-03-30T14:05:00Z"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.