Retrieve a variable
Returns a single environment variable by id. Secret values are masked.
Authorization
Authorization<token>API key authentication. Allowed headers-- "Authorization: ApiKey <novu_secret_key>".
In: header
Path Parameters
variableIdRequiredstringHeader Parameters
idempotency-keystringA header for idempotency purposes
Response Body
OK
_idRequiredstring_organizationIdRequiredstringkeyRequiredstringtypeRequiredstringValue in:
"string"isSecretRequiredbooleanvaluesRequiredarray<object>createdAtRequiredstringupdatedAtRequiredstringCreate a variable POST
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.
Update a variable PATCH
Updates an existing environment variable. Providing values replaces all existing per-environment values.