Create Escalation Policies
POST {{baseUrl}}/escalation-policies
Add escalation policy to the organization. Returns the escalation policy object in response.
Requires access_token
as a Bearer {{token}}
in the Authorization
header with user-write
scope.
Request Body
{"description"=>"<string>(optional)", "name"=>"<string>", "owner_id"=>"<string>(owner_id represents team_id)", "repetition"=>"<number>(optional)", "rules"=>[{"escalationTime"=>"<number>(optional)", "isViaPersonal"=>"<boolean>(optional)", "schedules"=>["<string>(optional)"], "squads"=>["<string>(optional)"], "users"=>["<string>"], "via"=>["<string>", "<string>"]}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | null | ||
Content-Type | string |
RESPONSES
status: Created
{"data":{"id":"621db78a0cacf9aeacdcaf60","name":"abc11","description":"desc","organization_id":"60cb200bc9de4a0008d2fc41","repetition":1,"rules":[{"users":["60f12dd3814bef0008c4036e"],"squads":[],"schedules":[],"escalationTime":5,"via":[]},{"users":["60f12dd3814bef0008c4036e"],"squads":[],"schedules":[],"escalationTime":7,"via":["Email"]}],"slug":"abc11","owner":{"id":"6129c3ddabffee4c428b420d","type":"team"},"access_control":[]}}