Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/vnd.api+json
Response
incident_type created
Creates a new incident_type from provided data
curl --request POST \
  --url https://api.rootly.com/v1/incident_types \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "incident_types",
    "attributes": {
      "name": "<string>",
      "description": "<string>",
      "color": "<string>",
      "position": 123,
      "notify_emails": [
        "<string>"
      ],
      "slack_channels": [
        {
          "id": "<string>",
          "name": "<string>"
        }
      ],
      "slack_aliases": [
        {
          "id": "<string>",
          "name": "<string>"
        }
      ]
    }
  }
}'{
  "data": {
    "id": "5cd70f57-8a14-4347-b1b1-f4bcc1fbe8f9",
    "type": "incident_types",
    "attributes": {
      "slug": "bug",
      "name": "Bug",
      "description": "Bug caused by a human",
      "color": "#FFF",
      "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-11-04T03:28:27.204-08:00",
      "updated_at": "2025-11-04T03:28:27.204-08:00"
    }
  }
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
incident_type created
Show child attributes
Was this page helpful?
curl --request POST \
  --url https://api.rootly.com/v1/incident_types \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "incident_types",
    "attributes": {
      "name": "<string>",
      "description": "<string>",
      "color": "<string>",
      "position": 123,
      "notify_emails": [
        "<string>"
      ],
      "slack_channels": [
        {
          "id": "<string>",
          "name": "<string>"
        }
      ],
      "slack_aliases": [
        {
          "id": "<string>",
          "name": "<string>"
        }
      ]
    }
  }
}'{
  "data": {
    "id": "5cd70f57-8a14-4347-b1b1-f4bcc1fbe8f9",
    "type": "incident_types",
    "attributes": {
      "slug": "bug",
      "name": "Bug",
      "description": "Bug caused by a human",
      "color": "#FFF",
      "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-11-04T03:28:27.204-08:00",
      "updated_at": "2025-11-04T03:28:27.204-08:00"
    }
  }
}