OnCall

Get a team's escalation policy

get/api/{org_id}/oncall/teams/{team_id}/policy

Request

Path parameters

org_idstring required

Organization name

team_idstring required

Team ID

Response

Success

destinationsstring[]

Alert Destination names this team pages through when a rung includes the Webhook channel. Reuses the destinations an org already has rather than storing URLs twice.

idstring required
org_idstring required
team_idstring required
templatestring nullable

Template override for this team's on-call messages; None uses each destination's.

ladder_is_generatedboolean required

Still the shape this code wrote, so dropping a rotation rewrites it rather than refusing.

Example response

{
  "rungs": [
    {
      "priority": 3
    }
  ]
}

Changes

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