Overview
AlertEvents
AlertGroups
AlertRoutingRules
AlertUrgencies
AlertSources
Alerts
Audits
Authorizations
CatalogEntities
CatalogEntityProperties
CatalogFields
Catalogs
[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
- GETList incidents
- POSTCreates an incident
- GETRetrieves an incident
- PUTUpdate an incident
- DELDelete an incident
- PUTMitigate an incident
- PUTResolve an incident
- PUTCancel an incident
- PUTTriage an incident
- PUTRestart an incident
- PUTMark an incident as a duplicate
- POSTAdd subscribers to incident
- DELRemove subscribers from incident
- POSTAssign user to incident
- DELRemove assigned user from incident
IpRanges
LiveCallRouters
OnCallRoles
OnCallShadows
OverrideShifts
PlaybookTasks
Playbooks
RetrospectiveTemplates
RetrospectiveConfigurations
RetrospectiveProcessGroupSteps
RetrospectiveProcessGroups
RetrospectiveProcesses
RetrospectiveSteps
ScheduleRotationActiveDays
ScheduleRotationUsers
ScheduleRotations
Schedules
Services
Severities
StatusPageTemplates
StatusPages
SubStatuses
Teams
UserNotificationRules
WebhooksDeliveries
Creates an user notification rule
Creates a new user notification rule from provided data
curl --request POST \
--url https://api.rootly.com/v1/users/{user_id}/notification_rules \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "user_notification_rules",
"attributes": {
"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"
]
}
}
}'
{
"data": {
"id": "c3c7a8fa-04dd-46d6-8235-884d5e55211d",
"type": "user_notification_rules",
"attributes": {
"user_id": 521,
"delay": 2,
"position": 1,
"user_email_address_id": "faaab972-2d57-4110-a371-985cd9f01ef2",
"user_call_number_id": "99224870-8c08-4e7a-b2f8-b955f348c4ee",
"user_sms_number_id": "99224870-8c08-4e7a-b2f8-b955f348c4ee",
"user_device_id": "d8555255-097a-46ed-8cc4-dbb597baa753",
"enabled_contact_types": [
"email"
],
"created_at": "2025-03-26T23:25:57.663-07:00",
"updated_at": "2025-03-26T23:25:57.663-07:00"
}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
user_notification_rules
Contact types for which notification needs to be enabled
email
, sms
, call
, device
, non_critical_device
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
Response
Unique ID of the rule
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
email
, sms
, call
, device
, non_critical_device
Date of creation
Date of last update
curl --request POST \
--url https://api.rootly.com/v1/users/{user_id}/notification_rules \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "user_notification_rules",
"attributes": {
"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"
]
}
}
}'
{
"data": {
"id": "c3c7a8fa-04dd-46d6-8235-884d5e55211d",
"type": "user_notification_rules",
"attributes": {
"user_id": 521,
"delay": 2,
"position": 1,
"user_email_address_id": "faaab972-2d57-4110-a371-985cd9f01ef2",
"user_call_number_id": "99224870-8c08-4e7a-b2f8-b955f348c4ee",
"user_sms_number_id": "99224870-8c08-4e7a-b2f8-b955f348c4ee",
"user_device_id": "d8555255-097a-46ed-8cc4-dbb597baa753",
"enabled_contact_types": [
"email"
],
"created_at": "2025-03-26T23:25:57.663-07:00",
"updated_at": "2025-03-26T23:25:57.663-07:00"
}
}
}