{ "opencollection": "1.0.0", "info": { "name": "Novu Activity Environment Variables API", "version": "3.15.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Environment Variables", "type": "folder" }, "items": [ { "info": { "name": "Novu List All Variables", "type": "http" }, "http": { "method": "GET", "url": "https://api.novu.co/v1/environment-variables", "params": [ { "name": "search", "value": "", "type": "query", "description": "Filter variables by key (case-insensitive partial match)" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Returns all environment variables for the current organization. Secret values are masked." }, { "info": { "name": "Novu Create a Variable", "type": "http" }, "http": { "method": "POST", "url": "https://api.novu.co/v1/environment-variables", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Creates a new environment variable. Keys must be uppercase with underscores only (e.g. BASE_URL). Secret variables are encrypted at rest and masked in API responses." }, { "info": { "name": "Novu Retrieve a Variable Usage", "type": "http" }, "http": { "method": "GET", "url": "https://api.novu.co/v1/environment-variables/:variableKey/usage", "params": [ { "name": "variableKey", "value": "BASE_URL", "type": "path", "description": "The unique key of the environment variable (e.g. BASE_URL)" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Returns the workflows that reference this environment variable via `{{env.KEY}}` in their step controls. **variableId** is required." }, { "info": { "name": "Novu Get Environment Variable", "type": "http" }, "http": { "method": "GET", "url": "https://api.novu.co/v1/environment-variables/:variableKey", "params": [ { "name": "variableKey", "value": "BASE_URL", "type": "path", "description": "The unique key of the environment variable (e.g. BASE_URL)" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Returns a single environment variable by key. Secret values are masked." }, { "info": { "name": "Novu Update a Variable", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.novu.co/v1/environment-variables/:variableKey", "params": [ { "name": "variableKey", "value": "BASE_URL", "type": "path", "description": "The unique key of the environment variable (e.g. BASE_URL)" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Updates an existing environment variable. Providing `values` merges them into the existing per-environment values by `_environmentId`; envs not present in the request keep their stored value. Submitting the masked secret placeholder (the value returned by read endpoints for secret variables) as a real value is rejected." }, { "info": { "name": "Novu Delete Environment Variable", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.novu.co/v1/environment-variables/:variableKey", "params": [ { "name": "variableKey", "value": "BASE_URL", "type": "path", "description": "The unique key of the environment variable (e.g. BASE_URL)" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Deletes an environment variable by key." } ] } ], "bundled": true }