Environment Variables
Create a variable
Create a variable using the Novu REST API. Requires your environment secret key in the Authorization header.
POST
PHP
Authorizations
API key authentication. Allowed headers-- "Authorization: ApiKey <novu_secret_key>".
Headers
A header for idempotency purposes
Body
application/json
Unique key for the variable. Must start with a letter and contain only letters, digits, and underscores.
Maximum string length:
256Pattern:
/^[A-Za-z][A-Za-z0-9_]*$/The type of the variable
Available options:
string Whether this variable is a secret (encrypted at rest, masked in responses)