Retrieves a specific environment by id
curl --request GET \
--url https://api.rootly.com/v1/environments/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "cb6462a5-c100-479f-b7f1-458c29bce369",
"type": "environments",
"attributes": {
"slug": "blanditiis-praesentium-voluptatibus-illo",
"name": "Blanditiis praesentium voluptatibus illo.",
"description": "Optio delectus inventore reprehenderit.",
"color": "#4ac44a",
"position": 1,
"notify_emails": [],
"slack_channels": [],
"slack_aliases": [],
"created_at": "2025-07-21T04:54:45.020-07:00",
"updated_at": "2025-07-21T04:54:45.020-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": "cb6462a5-c100-479f-b7f1-458c29bce369",
"type": "environments",
"attributes": {
"slug": "blanditiis-praesentium-voluptatibus-illo",
"name": "Blanditiis praesentium voluptatibus illo.",
"description": "Optio delectus inventore reprehenderit.",
"color": "#4ac44a",
"position": 1,
"notify_emails": [],
"slack_channels": [],
"slack_aliases": [],
"created_at": "2025-07-21T04:54:45.020-07:00",
"updated_at": "2025-07-21T04:54:45.020-07:00"
}
}
}