Overview
Reference
- AlertEvents
- AlertGroups
- AlertUrgencies
- AlertSources
- Alerts
- Audits
- Authorizations
- CatalogEntities
- CatalogEntityProperties
- CatalogFields
- Catalogs
- Causes
- [DEPRECATED] CustomFieldOptions
- [DEPRECATED] CustomFields
- CustomForms
- DashboardPanels
- Dashboards
- Environments
- EscalationPolicies
- EscalationLevelsPolicies
- EscalationLevelsPath
- EscalationLevels
- EscalationPaths
- FormFieldOptions
- FormFieldPlacementConditions
- FormFieldPlacements
- FormFieldPositions
- FormFields
- FormSetConditions
- FormSets
- Functionalities
- WorkflowTasks
- [DEPRECATED] WorkflowCustomFieldSelections
- WorkflowFormFieldConditions
- WorkflowGroups
- WorkflowRuns
- Workflows
- Heartbeats
- IncidentActionItems
- [DEPRECATED] IncidentCustomFieldSelections
- IncidentEventFunctionalities
- IncidentEventServices
- IncidentEvents
- IncidentFeedbacks
- IncidentFormFieldSelections
- IncidentPermissionSetBooleans
- IncidentPermissionSetResources
- IncidentPermissionSets
- IncidentRetrospectives
- IncidentRetrospectiveSteps
- IncidentRoleTasks
- IncidentRoles
- IncidentStatusPageEvents
- IncidentSubStatuses
- IncidentTypes
- Incidents
- IpRanges
- LiveCallRouters
- OnCallRoles
- OnCallShadows
- OverrideShifts
- PlaybookTasks
- Playbooks
- RetrospectiveTemplates
- Pulses
- RetrospectiveConfigurations
- RetrospectiveProcessGroupSteps
- RetrospectiveProcessGroups
- RetrospectiveProcesses
- RetrospectiveSteps
- Roles
- ScheduleRotationActiveDays
- ScheduleRotationUsers
- ScheduleRotations
- Schedules
- Shifts
- Secrets
- Services
- Severities
- StatusPageTemplates
- StatusPages
- SubStatuses
- Teams
- UserNotificationRules
- Users
- WebhooksDeliveries
- WebhooksEndpoints
UserNotificationRules
List user notification rules
UserNotificationRules
List user notification rules
List user notification rules
GET
/
v1
/
users
/
{user_id}
/
notification_rules
curl --request GET \
--url 'https://api.rootly.com/v1/users/%7Buser_id%7D/notification_rules?include=SOME_STRING_VALUE&page%5Bnumber%5D=SOME_INTEGER_VALUE&page%5Bsize%5D=SOME_INTEGER_VALUE&sort=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{
"data": [
{
"id": "<string>",
"type": "user_notification_rules",
"attributes": {
"user_id": 123,
"delay": 123,
"position": 123,
"user_email_address_id": "<string>",
"user_call_number_id": "<string>",
"user_sms_number_id": "<string>",
"user_device_id": "<string>",
"enabled_contact_types": [
"email"
],
"created_at": "<string>",
"updated_at": "<string>"
}
}
],
"links": {
"self": "<string>",
"first": "<string>",
"prev": "<string>",
"next": "<string>",
"last": "<string>"
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Response
200 - application/vnd.api+json
success
Unique ID of the rule
Available options:
user_notification_rules
Delay after which rule gets triggered
Position of the rule
User email address to which notification to be sent
User phone number to which notification to be sent
User sms number to which notification to be sent
User device to which notification to be sent
Contact types for which notification needs to be enabled
Available options:
email
, sms
, call
, device
, non_critical_device
Date of creation
Date of last update
curl --request GET \
--url 'https://api.rootly.com/v1/users/%7Buser_id%7D/notification_rules?include=SOME_STRING_VALUE&page%5Bnumber%5D=SOME_INTEGER_VALUE&page%5Bsize%5D=SOME_INTEGER_VALUE&sort=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{
"data": [
{
"id": "<string>",
"type": "user_notification_rules",
"attributes": {
"user_id": 123,
"delay": 123,
"position": 123,
"user_email_address_id": "<string>",
"user_call_number_id": "<string>",
"user_sms_number_id": "<string>",
"user_device_id": "<string>",
"enabled_contact_types": [
"email"
],
"created_at": "<string>",
"updated_at": "<string>"
}
}
],
"links": {
"self": "<string>",
"first": "<string>",
"prev": "<string>",
"next": "<string>",
"last": "<string>"
}
}