NotificationTemplate

Create a pagerduty notification template.

This will create a new pagerduty notification template for an org

  • Requires the action org:CreateNotificationTemplate on the organization
post/api/v1/org/{orgUID}/notification_template/pagerduty/

Request

  • Base URL: https://api.prod.spyderbat.com
  • URL: https://api.prod.spyderbat.com/api/v1/org/{orgUID}/notification_template/pagerduty/
  • Auth: HTTP bearer

Path parameters

orgUIDstring required

Request body

classstring

The class/type of the event.

componentstring

Component of the source machine that is responsible for the event.

custom_detailsobject

Custom details to include in the event.

dedup_keystring

A unique identifier for the event, used to deduplicate events.

descriptionstring

A brief description explaining what the template is for.

groupstring

Logical grouping of components of a service, useful for filtering alerts.

namestring required

Name of the notification template.

severitystring required

The perceived severity of the notification. Can be one of info, warning, error, or critical or dereference a field or use a template function to populate it such as {{ pd_severity }}.

sourcestring required

The Source machine of the event.

summarystring required

A brief text summary of the event, used to generate the summaries/titles of any associated alerts.

tagsstring[]

Response

OK

uidstring

Changes

No recorded changes to this operation across all 1 revision of this API.