Retrieves a specific service by id
curl --request GET \
--url https://api.rootly.com/v1/services/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "7a26015b-68fc-4791-b034-23407ea18a7f",
"type": "services",
"attributes": {
"name": "Quis doloribus occaecati corrupti.",
"slug": "quis-doloribus-occaecati-corrupti",
"description": "Ipsa sint ipsum quam.",
"public_description": null,
"notify_emails": [],
"color": "#D7F5E1",
"status": "partial_outage",
"position": 1,
"show_uptime": true,
"show_uptime_last_days": 60,
"slack_channels": [],
"slack_aliases": [],
"github_repository_name": null,
"github_repository_branch": "master",
"gitlab_repository_name": null,
"gitlab_repository_branch": "master",
"opsgenie_id": null,
"pagerduty_id": null,
"backstage_id": null,
"external_id": null,
"cortex_id": null,
"service_now_ci_sys_id": null,
"environment_ids": [],
"service_ids": [],
"owner_group_ids": [],
"owners_group_ids": [],
"owner_user_ids": [],
"owners_user_ids": [],
"incidents_count": 1,
"alert_urgency_id": null,
"alerts_email_enabled": false,
"alerts_email_address": "service-31a7e09d94af30eb91ac059b5c2c573d@email.rootly.com",
"created_at": "2025-07-06T14:13:17.627-07:00",
"updated_at": "2025-07-06T14:13:17.868-07:00"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
service found
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.rootly.com/v1/services/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "7a26015b-68fc-4791-b034-23407ea18a7f",
"type": "services",
"attributes": {
"name": "Quis doloribus occaecati corrupti.",
"slug": "quis-doloribus-occaecati-corrupti",
"description": "Ipsa sint ipsum quam.",
"public_description": null,
"notify_emails": [],
"color": "#D7F5E1",
"status": "partial_outage",
"position": 1,
"show_uptime": true,
"show_uptime_last_days": 60,
"slack_channels": [],
"slack_aliases": [],
"github_repository_name": null,
"github_repository_branch": "master",
"gitlab_repository_name": null,
"gitlab_repository_branch": "master",
"opsgenie_id": null,
"pagerduty_id": null,
"backstage_id": null,
"external_id": null,
"cortex_id": null,
"service_now_ci_sys_id": null,
"environment_ids": [],
"service_ids": [],
"owner_group_ids": [],
"owners_group_ids": [],
"owner_user_ids": [],
"owners_user_ids": [],
"incidents_count": 1,
"alert_urgency_id": null,
"alerts_email_enabled": false,
"alerts_email_address": "service-31a7e09d94af30eb91ac059b5c2c573d@email.rootly.com",
"created_at": "2025-07-06T14:13:17.627-07:00",
"updated_at": "2025-07-06T14:13:17.868-07:00"
}
}
}