Get Escalation Policy By team
GET {{baseUrl}}/escalation-policies?owner_id=<string>
Returns all escalation policy details of the given ownerID
(teamId) in the request param.
Requires access_token
as a Bearer {{token}}
in the Authorization
header with read
scope.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
owner_id | string | here owner_id represents team_id |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | null |
RESPONSES
status: OK
{"data":[{"id":"60cb200fceb9ac000726a205","name":"Example Escalation Policy","description":"On-Boarding Example","organization_id":"60cb200bc9de4a0008d2fc41","repetition":3,"rules":[{"users":["60cb223997db1cf2cac4da92"],"squads":[],"schedules":[],"escalationTime":1,"via":["SMS"]}],"slug":"example-escalation-policy","owner":{"id":"6129ac15518568defa92794b","type":"team"},"access_control":[]},{"id":"60cc2a6cec1645d563995d7b","name":"Support","description":"Support team escalation policy","organization_id":"60cb200bc9de4a0008d2fc41","repetition":0,"rules":[{"users":["60cb223997db1cf2cac4da92"],"squads":[],"schedules":[],"escalationTime":5,"via":["Phone"]}],"slug":"support","owner":{"id":"6129ac15518568defa92794b","type":"team"},"access_control":[]},{"id":"60cc4c7fec1645d563995d82","name":"me","description":"","organization_id":"60cb200bc9de4a0008d2fc41","repetition":0,"rules":[{"users":["60cb223997db1cf2cac4da92"],"squads":[],"schedules":[],"escalationTime":0,"via":["Phone"]}],"slug":"me","owner":{"id":"6129ac15518568defa92794b","type":"team"},"access_control":[]},{"id":"613b7c12e613cc47925109d7","name":"testing","description":"","organization_id":"60cb200bc9de4a0008d2fc41","repetition":0,"rules":[{"users":["60cb1ef1c9de4a0008d2fadd"],"squads":[],"schedules":[],"escalationTime":0,"via":["SMS"]}],"slug":"testing","owner":{"id":"6129ac15518568defa92794b","type":"team"},"access_control":[]},{"id":"6216ec1bf685fedb9481296b","name":"testing123","description":"","organization_id":"60cb200bc9de4a0008d2fc41","repetition":0,"rules":[{"users":["60cb223997db1cf2cac4da92"],"squads":[],"schedules":[],"escalationTime":5,"via":[]}],"slug":"testing123","owner":{"id":"6129ac15518568defa92794b","type":"team"},"access_control":[]}]}