Creates a new severity from provided data
curl --request POST \
--url https://api.rootly.com/v1/severities \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "severities",
"attributes": {
"name": "<string>",
"description": "<string>",
"severity": "critical",
"color": "<string>",
"position": 123,
"notify_emails": [
"<string>"
],
"slack_channels": [
{
"id": "<string>",
"name": "<string>"
}
],
"slack_aliases": [
{
"id": "<string>",
"name": "<string>"
}
]
}
}
}
'{
"data": {
"id": "745edd3e-18fc-491b-8054-f398f940af1d",
"type": "severities",
"attributes": {
"name": "P0",
"slug": "p0",
"description": "High Priority",
"severity": "medium",
"color": "#E58A1F",
"position": 1,
"notify_emails": [
"[email protected]",
"[email protected]"
],
"slack_channels": [
{
"id": "C03MKDSEJE8",
"name": "elastisearch"
}
],
"slack_aliases": [
{
"id": "S03F7QUV7F1",
"name": "leadership"
}
],
"created_at": "2026-01-03T21:29:54.786-08:00",
"updated_at": "2026-01-03T21:29:54.786-08:00"
}
}
}Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/severities \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "severities",
"attributes": {
"name": "<string>",
"description": "<string>",
"severity": "critical",
"color": "<string>",
"position": 123,
"notify_emails": [
"<string>"
],
"slack_channels": [
{
"id": "<string>",
"name": "<string>"
}
],
"slack_aliases": [
{
"id": "<string>",
"name": "<string>"
}
]
}
}
}
'{
"data": {
"id": "745edd3e-18fc-491b-8054-f398f940af1d",
"type": "severities",
"attributes": {
"name": "P0",
"slug": "p0",
"description": "High Priority",
"severity": "medium",
"color": "#E58A1F",
"position": 1,
"notify_emails": [
"[email protected]",
"[email protected]"
],
"slack_channels": [
{
"id": "C03MKDSEJE8",
"name": "elastisearch"
}
],
"slack_aliases": [
{
"id": "S03F7QUV7F1",
"name": "leadership"
}
],
"created_at": "2026-01-03T21:29:54.786-08:00",
"updated_at": "2026-01-03T21:29:54.786-08:00"
}
}
}