younifyd
Menu

List Escalation Policies

List escalation policies

GET/escalation_policies

Use it in a workflow

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

Request

Query parameters

limitinteger

The number of results per page.

offsetinteger

Offset to start pagination search results.

totalboolean

By default the `total` field in pagination responses is set to `null` to provide the fastest possible response times. Set `total` to `true` for this field to be populated. See our [Pagination Docs](https://developer.pagerduty.com/docs/rest-api-v2/pagination/) for more information.

Default false

querystring

Filters the result, showing only the records whose name matches the query.

user_ids[]array<string>

Filters the results, showing only escalation policies on which any of the users is a target.

team_ids[]array<string>

An array of team IDs. Only results related to these teams will be returned. Account must have the `teams` ability to use this parameter.

include[]string

Array of additional Models to include in response.

One ofservicesteamstargetsescalation_rule_assignment_strategies

sort_bystring

Used to specify the field you wish to sort the results on.

One ofnamename:ascname:descDefault "name"

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"

Response

Returns 200 with a any. Read it in later steps with {{listEscalationPolicies.response.data.<field>}}.

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

List Escalation Policies — PagerDuty — Documentation