Skip to main content
Use this endpoint to fetch the complete set of environment variables configured for your application. The response includes every key-value pair you have previously defined, making it straightforward to audit your configuration or synchronise variables across environments.

Endpoint

GET https://api.virtuscloud.app/v2/apps/{appId}/envs

Authorization

Include your API key in the request header:
Authorization: <api_key>

Path Parameters

appId
string
required
The unique identifier of your application. You can find this in your Virtus Cloud dashboard URL.

Response

status
string
Indicates the outcome of the request. Returns "success" when the operation completes without errors.
response
object
A flat object containing all environment variables defined for the application, where each key is the variable name and the value is its current value.

Examples

curl --request GET \
  --url "https://api.virtuscloud.app/v2/apps/{appId}/envs" \
  --header "Authorization: <api_key>"

Response Example

{
  "status": "success",
  "response": {
    "TEST": "myTest"
  }
}