Retrieves a specific environment by id
curl --request GET \
--url https://api.rootly.com/v1/environments/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "4e62ac5b-a953-49bb-a335-0f5f3faa4bc4",
"type": "environments",
"attributes": {
"slug": "neque-sit-ut-placeat",
"name": "Neque sit ut placeat.",
"description": "Voluptatem alias sed ex.",
"color": "#2222c9",
"position": 1,
"notify_emails": [],
"slack_channels": [],
"slack_aliases": [],
"created_at": "2025-08-08T21:49:25.571-07:00",
"updated_at": "2025-08-08T21:49:25.571-07:00"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
environment found
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": "4e62ac5b-a953-49bb-a335-0f5f3faa4bc4",
"type": "environments",
"attributes": {
"slug": "neque-sit-ut-placeat",
"name": "Neque sit ut placeat.",
"description": "Voluptatem alias sed ex.",
"color": "#2222c9",
"position": 1,
"notify_emails": [],
"slack_channels": [],
"slack_aliases": [],
"created_at": "2025-08-08T21:49:25.571-07:00",
"updated_at": "2025-08-08T21:49:25.571-07:00"
}
}
}