Skip to main content
get/v1/environments
Request example
Response
get/v1/environments

Authorization

Authorizationstringheaderrequired#
API key authentication. Allowed headers-- "Authorization: ApiKey <novu_secret_key>".

Headers

idempotency-keystring#
A header for idempotency purposes

Responses

application/json
OK
_idstringrequired#
Unique identifier of the environment

Example:"60d5ecb8b3b3a30015f3e1a1"

namestringrequired#
Name of the environment

Example:"Production Environment"

_organizationIdstringrequired#
Organization ID associated with the environment

Example:"60d5ecb8b3b3a30015f3e1a2"

identifierstringrequired#
Unique identifier for the environment

Example:"prod-env-01"

typeenum<string>#
Type of the environment
Options:devprod

Example:"prod"

apiKeysobject[]#
List of API keys associated with the environment
_parentIdstring#
Parent environment ID

Example:"60d5ecb8b3b3a30015f3e1a3"

slugstring#
URL-friendly slug for the environment

Example:"production"