younifyd
Menu

Create Escalation Policy

Create an escalation policy

POST/escalation_policies

Use it in a workflow

  1. Add a step and choose the PagerDuty connector.
  2. Pick the Create Escalation Policy action (under Escalation Policies).
  3. Fill in the fields below, then reference the result from later steps as {{createEscalationPolicy.response.data}}.

Request

Headers

Acceptstringrequired

The `Accept` header is used as a versioning header.

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

Content-Typestringrequired

One ofapplication/jsonDefault "application/json"

Fromstring (email)

The email address of a valid user associated with the account making the request. This is optional, and is only used for change tracking.

Request body

Enter the body as JSON in the step's Body field.

escalation_policyanyrequired
json
{
  "escalation_policy": null
}

Response

Returns 201 with an object. Read it in later steps with {{createEscalationPolicy.response.data.<field>}}.

escalation_policyany
json
{
  "escalation_policy": null
}

Need more? See the PagerDuty guide for connection setup and behaviour shared by every action.

Was this page helpful?
Create Escalation Policy — PagerDuty — Documentation