Create an environment
Creates a new environment within the current organization. Environments allow you to manage different stages of your application development lifecycle. Each environment has its own set of API keys and configurations.
Authorizations
API key authentication. Allowed headers-- "Authorization: ApiKey <novu_secret_key>".
Headers
A header for idempotency purposes
Body
Response
Created
Unique identifier of the environment
"60d5ecb8b3b3a30015f3e1a1"
Name of the environment
"Production Environment"
Organization ID associated with the environment
"60d5ecb8b3b3a30015f3e1a2"
Unique identifier for the environment
"prod-env-01"
Type of the environment
dev, prod "prod"
List of API keys associated with the environment
Parent environment ID
"60d5ecb8b3b3a30015f3e1a3"
URL-friendly slug for the environment
"production"