List environments

GET/v1/environments
Lists the caller organization's environments.

Authorization

header

Authorization: Bearer <token>

An access token from Settings → Access tokens, with the scopes this call needs. Authentication

Query parameters

afterstring
Return items after this cursor (ID)
limitstring
Max items to return (1-100, default 25)

Responses

Successapplication/json

dataarray<Environment>required
firstIdstring | nullrequired
ID of the first item in this page
lastIdstring | nullrequired
ID of the last item (use as cursor for next page)
hasMorebooleanrequired
Whether more items exist after this page