List all environments
This API returns a list of environments for the current organization. Each environment contains its configuration, API keys (if user has access), and metadata.
This API returns a list of environments for the current organization. Each environment contains its configuration, API keys (if user has access), and metadata.
Authorization
secretKey API key authentication. Allowed headers-- "Authorization: ApiKey <secret_key>".
In: header
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/environments"{ "data": [ { "_id": "60d5ecb8b3b3a30015f3e1a1", "name": "Production Environment", "_organizationId": "60d5ecb8b3b3a30015f3e1a2", "identifier": "prod-env-01", "type": "prod", "apiKeys": [ { "key": "sk_test_1234567890abcdef", "_userId": "60d5ecb8b3b3a30015f3e1a4", "hash": "hash_value_here" } ], "_parentId": "60d5ecb8b3b3a30015f3e1a3", "slug": "production" } ]}API reference
Endpoint-by-endpoint reference for the Notifly REST API, generated from the OpenAPI document — one page per operation, grouped by resource.
Create an environment POST
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.