Retrieves a specific environment by id
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"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Resource UUID
environment found by slug
The response is of type object
.
Was this page helpful?
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"
}
}
}