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

KeyDatatypeRequiredDescription
owner_idstringhere owner_id represents team_id

HEADERS

KeyDatatypeRequiredDescription
Authorizationnull

RESPONSES

status: OK

{&quot;data&quot;:[{&quot;id&quot;:&quot;60cb200fceb9ac000726a205&quot;,&quot;name&quot;:&quot;Example Escalation Policy&quot;,&quot;description&quot;:&quot;On-Boarding Example&quot;,&quot;organization_id&quot;:&quot;60cb200bc9de4a0008d2fc41&quot;,&quot;repetition&quot;:3,&quot;rules&quot;:[{&quot;users&quot;:[&quot;60cb223997db1cf2cac4da92&quot;],&quot;squads&quot;:[],&quot;schedules&quot;:[],&quot;escalationTime&quot;:1,&quot;via&quot;:[&quot;SMS&quot;]}],&quot;slug&quot;:&quot;example-escalation-policy&quot;,&quot;owner&quot;:{&quot;id&quot;:&quot;6129ac15518568defa92794b&quot;,&quot;type&quot;:&quot;team&quot;},&quot;access_control&quot;:[]},{&quot;id&quot;:&quot;60cc2a6cec1645d563995d7b&quot;,&quot;name&quot;:&quot;Support&quot;,&quot;description&quot;:&quot;Support team escalation policy&quot;,&quot;organization_id&quot;:&quot;60cb200bc9de4a0008d2fc41&quot;,&quot;repetition&quot;:0,&quot;rules&quot;:[{&quot;users&quot;:[&quot;60cb223997db1cf2cac4da92&quot;],&quot;squads&quot;:[],&quot;schedules&quot;:[],&quot;escalationTime&quot;:5,&quot;via&quot;:[&quot;Phone&quot;]}],&quot;slug&quot;:&quot;support&quot;,&quot;owner&quot;:{&quot;id&quot;:&quot;6129ac15518568defa92794b&quot;,&quot;type&quot;:&quot;team&quot;},&quot;access_control&quot;:[]},{&quot;id&quot;:&quot;60cc4c7fec1645d563995d82&quot;,&quot;name&quot;:&quot;me&quot;,&quot;description&quot;:&quot;&quot;,&quot;organization_id&quot;:&quot;60cb200bc9de4a0008d2fc41&quot;,&quot;repetition&quot;:0,&quot;rules&quot;:[{&quot;users&quot;:[&quot;60cb223997db1cf2cac4da92&quot;],&quot;squads&quot;:[],&quot;schedules&quot;:[],&quot;escalationTime&quot;:0,&quot;via&quot;:[&quot;Phone&quot;]}],&quot;slug&quot;:&quot;me&quot;,&quot;owner&quot;:{&quot;id&quot;:&quot;6129ac15518568defa92794b&quot;,&quot;type&quot;:&quot;team&quot;},&quot;access_control&quot;:[]},{&quot;id&quot;:&quot;613b7c12e613cc47925109d7&quot;,&quot;name&quot;:&quot;testing&quot;,&quot;description&quot;:&quot;&quot;,&quot;organization_id&quot;:&quot;60cb200bc9de4a0008d2fc41&quot;,&quot;repetition&quot;:0,&quot;rules&quot;:[{&quot;users&quot;:[&quot;60cb1ef1c9de4a0008d2fadd&quot;],&quot;squads&quot;:[],&quot;schedules&quot;:[],&quot;escalationTime&quot;:0,&quot;via&quot;:[&quot;SMS&quot;]}],&quot;slug&quot;:&quot;testing&quot;,&quot;owner&quot;:{&quot;id&quot;:&quot;6129ac15518568defa92794b&quot;,&quot;type&quot;:&quot;team&quot;},&quot;access_control&quot;:[]},{&quot;id&quot;:&quot;6216ec1bf685fedb9481296b&quot;,&quot;name&quot;:&quot;testing123&quot;,&quot;description&quot;:&quot;&quot;,&quot;organization_id&quot;:&quot;60cb200bc9de4a0008d2fc41&quot;,&quot;repetition&quot;:0,&quot;rules&quot;:[{&quot;users&quot;:[&quot;60cb223997db1cf2cac4da92&quot;],&quot;squads&quot;:[],&quot;schedules&quot;:[],&quot;escalationTime&quot;:5,&quot;via&quot;:[]}],&quot;slug&quot;:&quot;testing123&quot;,&quot;owner&quot;:{&quot;id&quot;:&quot;6129ac15518568defa92794b&quot;,&quot;type&quot;:&quot;team&quot;},&quot;access_control&quot;:[]}]}