Skip to main content
GET
/
v1
/
users
/
{id}
Retrieves an user
curl --request GET \
  --url https://api.rootly.com/v1/users/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "567",
    "type": "users",
    "attributes": {
      "name": "Hanna Schultz",
      "email": "jammie.funk@ruecker.example",
      "phone": null,
      "phone_2": null,
      "first_name": "Hanna",
      "last_name": "Schultz",
      "full_name": "Hanna Schultz",
      "full_name_with_team": "[Larson, Langosh and Hoeger] Hanna Schultz",
      "slack_id": null,
      "time_zone": "Etc/UTC",
      "updated_at": "2025-11-18T19:08:43.968-08:00",
      "created_at": "2025-11-18T19:08:43.554-08:00"
    },
    "relationships": {
      "email_addresses": {
        "data": [
          {
            "id": "1d809feb-5164-4ece-a82a-978f3b290892",
            "type": "user_email_addresses"
          }
        ]
      },
      "phone_numbers": {
        "data": []
      },
      "devices": {
        "data": []
      },
      "role": {
        "data": {
          "id": "90674509-23fb-4c72-aeb7-998ae90b78b5",
          "type": "roles"
        }
      },
      "on_call_role": {
        "data": {
          "id": "b071e44f-2487-471d-b9f7-848a651db259",
          "type": "on_call_roles"
        }
      },
      "teams": {
        "data": [
          {
            "id": "453c5429-cb2e-4630-b529-d79d52475c72",
            "type": "groups"
          }
        ]
      },
      "schedules": {
        "data": [
          {
            "id": "ae36082c-a324-49f3-b572-8333deea072b",
            "type": "schedules"
          }
        ]
      },
      "notification_rules": {
        "data": [
          {
            "id": "d9796d8c-3a65-4b60-8e3e-dbb0b9bff8b9",
            "type": "user_notification_rules"
          },
          {
            "id": "74f3928b-b84c-4c59-b2a8-64a317f98b8d",
            "type": "user_notification_rules"
          },
          {
            "id": "8a2b21a2-e5b7-4b90-9fa7-bdccde70c0d2",
            "type": "user_notification_rules"
          }
        ]
      }
    }
  },
  "included": [
    {
      "id": "453c5429-cb2e-4630-b529-d79d52475c72",
      "type": "groups",
      "attributes": {
        "slug": "veritatis-consectetur-cum-voluptate",
        "name": "Veritatis consectetur cum voluptate.",
        "description": null,
        "color": "#D7F5E1",
        "position": 1,
        "notify_emails": [],
        "slack_channels": [],
        "slack_aliases": [],
        "pagerduty_id": null,
        "pagerduty_service_id": null,
        "backstage_id": null,
        "external_id": null,
        "opsgenie_id": null,
        "victor_ops_id": null,
        "pagertree_id": null,
        "cortex_id": null,
        "service_now_ci_sys_id": null,
        "user_ids": [
          567
        ],
        "admin_ids": [],
        "incidents_count": 0,
        "alert_urgency_id": null,
        "alerts_email_enabled": false,
        "alerts_email_address": "group-3de2a56cbb797ad57789398f8a88280a@email.rootly.com",
        "alert_broadcast_enabled": false,
        "alert_broadcast_channel": {},
        "incident_broadcast_enabled": false,
        "incident_broadcast_channel": {},
        "auto_add_members_when_attached": false,
        "created_at": "2025-11-18T19:08:48.418-08:00",
        "updated_at": "2025-11-18T19:08:48.439-08:00"
      },
      "relationships": {
        "users": {
          "data": [
            {
              "id": "567",
              "type": "users"
            }
          ]
        }
      }
    },
    {
      "id": "ae36082c-a324-49f3-b572-8333deea072b",
      "type": "schedules",
      "attributes": {
        "name": "Schedule 30",
        "description": "Schedule description",
        "all_time_coverage": false,
        "slack_user_group": {},
        "slack_channel": null,
        "owner_user_id": 583,
        "owner_group_ids": [],
        "created_at": "2025-11-18T19:08:48.699-08:00",
        "updated_at": "2025-11-18T19:08:48.722-08:00"
      },
      "relationships": {
        "owner_user": {
          "data": {
            "id": "583",
            "type": "users"
          }
        },
        "escalation_policies": {
          "data": []
        }
      }
    },
    {
      "id": "d9796d8c-3a65-4b60-8e3e-dbb0b9bff8b9",
      "type": "user_notification_rules",
      "attributes": {
        "user_id": 567,
        "delay": 0,
        "position": 1,
        "user_email_address_id": "1d809feb-5164-4ece-a82a-978f3b290892",
        "user_call_number_id": null,
        "user_sms_number_id": null,
        "user_device_id": null,
        "enabled_contact_types": [
          "email"
        ],
        "created_at": "2025-11-18T19:08:43.603-08:00",
        "updated_at": "2025-11-18T19:08:43.603-08:00"
      }
    },
    {
      "id": "74f3928b-b84c-4c59-b2a8-64a317f98b8d",
      "type": "user_notification_rules",
      "attributes": {
        "user_id": 567,
        "delay": 1,
        "position": 1,
        "user_email_address_id": null,
        "user_call_number_id": null,
        "user_sms_number_id": null,
        "user_device_id": null,
        "enabled_contact_types": [
          "email"
        ],
        "created_at": "2025-11-18T19:08:48.760-08:00",
        "updated_at": "2025-11-18T19:08:48.760-08:00"
      }
    },
    {
      "id": "8a2b21a2-e5b7-4b90-9fa7-bdccde70c0d2",
      "type": "user_notification_rules",
      "attributes": {
        "user_id": 567,
        "delay": 0,
        "position": 2,
        "user_email_address_id": "1d809feb-5164-4ece-a82a-978f3b290892",
        "user_call_number_id": null,
        "user_sms_number_id": null,
        "user_device_id": null,
        "enabled_contact_types": [
          "email"
        ],
        "created_at": "2025-11-18T19:08:43.591-08:00",
        "updated_at": "2025-11-18T19:08:48.765-08:00"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Query Parameters

include
enum<string>

comma separated if needed. eg: email_addresses,phone_numbers

Available options:
email_addresses,
phone_numbers,
devices,
role,
on_call_role,
teams,
schedules,
notification_rules

Response

user found with teams, schedules, and notification_rules includes

data
object
required