POST /incidents/types

Create a new incident type.

Incident Types are a feature which will allow customers to categorize incidents, such as a security incident, a major incident, or a fraud incident.

For more information see the API Concepts Document

Scoped OAuth requires: incident_types.write

Servers

Request headers

Name Type Required Description
Accept String Yes

The Accept header is used as a versioning header.

Default value: "application/vnd.pagerduty+json;version=2"

Content-Type String Yes

Possible values:

  • "application/json"

Default value: "application/json"

Request body fields

Name Type Required Description
incident_type Object Yes

Details of the incident type to be created.

incident_type.name String Yes

The name of the Incident Type. Usage of the suffix _default is prohibited. This cannot be changed once the incident type has been created.

incident_type.description String No

The description of the Incident Type.

incident_type.parent_type String Yes

The parent type of the Incident Type. Either name or id of the parent type can be used.

incident_type.display_name String Yes

The display name of the Incident Type. Usage of the prefix PD, PagerDuty, Default is prohibited.

incident_type.enabled Boolean No

Whether the Incident Type is enabled. Defaults to true if not provided.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.