GET
/
v1
/
environments
/
{id}
Retrieves an environment
curl --request GET \
  --url https://api.rootly.com/v1/environments/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "9920acc5-0624-4e4c-b39f-043b2e05cfa2",
    "type": "environments",
    "attributes": {
      "slug": "eius-repellendus-et-esse",
      "name": "Eius repellendus et esse.",
      "description": "Quod non et ab.",
      "color": "#f0f075",
      "position": 1,
      "notify_emails": [],
      "slack_channels": [],
      "slack_aliases": [],
      "created_at": "2025-09-01T03:37:58.114-07:00",
      "updated_at": "2025-09-01T03:37:58.114-07:00"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
required

Resource UUID

Response

200
application/vnd.api+json

environment found by slug

The response is of type object.