List Envs​
GET
/applications/{uuid}/envs
List all envs by application UUID.
Authorizations​
bearerAuth
Go to Keys & Tokens
/ API tokens
and create a new token. Use the token as the bearer token.
TypeHTTP (bearer)
Parameters​
Path Parameters
uuid*
UUID of the application.
Typestring
Requiredformat
uuid
Responses​
All environment variables by application UUID.
application/json
JSON
[
{
"id": 0,
"uuid": "string",
"resourceable_type": "string",
"resourceable_id": 0,
"is_build_time": true,
"is_literal": true,
"is_multiline": true,
"is_preview": true,
"is_shared": true,
"is_shown_once": true,
"key": "string",
"value": "string",
"real_value": "string",
"version": "string",
"created_at": "string",
"updated_at": "string"
}
]
GET
/applications/{uuid}/envs
Playground​
Authorization
Variables
Key
Value
Samples​
Bruno
GET https://app.coolify.io/api/v1/applications/%7Buuid%7D/envs
Headers
authorization: Bearer Token
cURL
curl 'https://app.coolify.io/api/v1/applications/%7Buuid%7D/envs' \
--header 'Authorization: Bearer Token'
JavaScript
fetch('https://app.coolify.io/api/v1/applications/%7Buuid%7D/envs', {
headers: {
Authorization: 'Bearer Token'
}
})
PHP
$ch = curl_init("https://app.coolify.io/api/v1/applications/%7Buuid%7D/envs");
curl_setopt($ch, CURLOPT_HTTPHEADER, ['Authorization: Bearer Token']);
curl_exec($ch);
curl_close($ch);
Python
requests.get(
"https://app.coolify.io/api/v1/applications/%7Buuid%7D/envs",
headers={
"Authorization": "Bearer Token"
}
)