Skip to main content
GET
/
v1
/
environments
/
{id}
Retrieves an environment
curl --request GET \
  --url https://api.rootly.com/v1/environments/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "223bee59-035a-4694-91e8-a89d1c4b1def",
    "type": "environments",
    "attributes": {
      "slug": "est-commodi-rerum-illo",
      "name": "Est commodi rerum illo.",
      "description": "Nam voluptas sint eligendi.",
      "color": "#062828",
      "position": 1,
      "notify_emails": [],
      "slack_channels": [],
      "slack_aliases": [],
      "created_at": "2026-02-19T19:09:37.663-08:00",
      "updated_at": "2026-02-19T19:09:37.663-08: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

environment found by slug

data
object
required