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
Severities
Creates a severity
Severities
Creates a severity
Creates a new severity from provided data
POST
/
v1
/
severities
curl --request POST \
--url https://api.rootly.com/v1/severities \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/vnd.api+json'
{
"data": {
"id": "c524d306-62b8-48f5-9147-298dfa50f491",
"type": "severities",
"attributes": {
"name": "P0",
"slug": "p0",
"description": "High Priority",
"severity": "medium",
"color": "#E58A1F",
"position": 1,
"notify_emails": [
"hello@rootly.com",
"world@rootly.com"
],
"slack_channels": [
{
"id": "C03MKDSEJE8",
"name": "elastisearch"
}
],
"slack_aliases": [
{
"id": "S03F7QUV7F1",
"name": "leadership"
}
],
"created_at": "2025-03-07T00:09:17.550-08:00",
"updated_at": "2025-03-07T00:09:17.550-08:00"
}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/vnd.api+json
Available options:
severities
The name of the severity
The description of the severity
The severity of the severity
Available options:
critical
, high
, medium
, low
The hex color of the severity
Position of the severity
Emails to attach to the severity
Response
201
application/vnd.api+json
severity created
Unique ID of the severity
Available options:
severities
The name of the severity
Date of creation
Date of last update
The slug of the severity
The description of the severity
The severity of the severity
Available options:
critical
, high
, medium
, low
The hex color of the severity
Position of the severity
Emails to attach to the severity
Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/severities \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/vnd.api+json'
{
"data": {
"id": "c524d306-62b8-48f5-9147-298dfa50f491",
"type": "severities",
"attributes": {
"name": "P0",
"slug": "p0",
"description": "High Priority",
"severity": "medium",
"color": "#E58A1F",
"position": 1,
"notify_emails": [
"hello@rootly.com",
"world@rootly.com"
],
"slack_channels": [
{
"id": "C03MKDSEJE8",
"name": "elastisearch"
}
],
"slack_aliases": [
{
"id": "S03F7QUV7F1",
"name": "leadership"
}
],
"created_at": "2025-03-07T00:09:17.550-08:00",
"updated_at": "2025-03-07T00:09:17.550-08:00"
}
}
}