You can use the GET /environments endpoint to retrieve all environment resources associated with your organization.

The response data returns information about every environment referenced by your organization. For each environment resource, the data contains HAL links for related resources as well as the properties for the environment. The id property identifies the UUID for the environment resource. The response data shows the environment resources associated with this organization. The limit attribute is set to 1, so only one environment is included in the response.

If you review the response to the right (or below), you’ll notice the ID for our environment is 020ed26b-ae15-4783-8fb3-gd65816dc391.