List environments
Return all environments the authenticated credential has access to under the tenant.
GET
Every tenant has exactly one permanent live environment and zero or more sandbox environments. Results are sorted by
type then name alphabetically (live first).
Access scoping rules:
- API key callers receive only the environments their key is scoped to.
- Admin users receive all active environments by default. With
includeAll=truethey also receive disabled environments. - Non-admin users receive only the environments they are a member of.
Query parameters
boolean
default:"false"
When
Admin callers will also receive disabled environments in the response.
Non-admin callers always return only their accessible environments regardless of this flag.
true, each environment object includes a hasAccess boolean indicating whether the caller is a member.Admin callers will also receive disabled environments in the response.
Non-admin callers always return only their accessible environments regardless of this flag.
Returns
An array of environment objects. WhenincludeAll=true, each object also includes hasAccess.
string
Environment ID (MongoDB ObjectId).
string
Owning tenant identifier.
string
Human-readable display name (e.g.
"Live", "Staging Sandbox").string
Environment type —
"live" or "sandbox". Each tenant has exactly one "live" environment.string
"active" or "disabled". Disabled environments reject all incoming API requests.string
API version configured for this environment. Currently always
"v1".number
Number of webhook delivery retry attempts for this environment. Default
3. Maximum effective value is 10.boolean
When
true, extended request and event logs are captured for this environment. Default false.number | null
Per-minute API rate-limit override for this environment.
null or absent means the tenant-level default applies.boolean
Only present when
includeAll=true is passed. true if the calling user is a member of this environment, false otherwise.string
ISO 8601 UTC creation timestamp.
string
ISO 8601 UTC last-modified timestamp.