Escalation Policies
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.
here owner_id represents team_id, if team_id is not provided, it will return escalation policies of all teams.
The request has succeeded.
The server could not understand the request due to invalid syntax.
Access is unauthorized.
Client error
Access is forbidden.
The server cannot find the requested resource.
The request conflicts with the current state of the server.
Client error
Server error
Server error
Service unavailable.
Server error
GET /v3/escalation-policies?owner_id=text HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
authorization: text
Accept: */*
{
"data": [
{
"id": "text",
"name": "text",
"description": "text",
"organization_id": "text",
"repetition": 1,
"repeat_after": 1,
"rules": [
{
"escalationTime": 1,
"via": [
"text"
],
"roundrobin_enabled": true,
"roundrobin_next_index": 1,
"entities": [
{
"id": "text",
"pid": 1,
"type": "user"
}
],
"escalate_within_roundrobin": true,
"repetition": 1,
"repeat_after": 1
}
],
"slug": "text",
"enable_incident_reminders": true,
"incident_reminder_rules": [
{
"via": [
"text"
],
"time_interval": 1,
"till": 1
}
],
"enable_incident_retrigger": true,
"retrigger_after": 1,
"entity_owner": {
"id": "text",
"type": "text"
},
"owner": {
"id": "text",
"type": "team"
},
"access_control": [
{
"user_id": "text",
"abilities": {}
}
]
}
],
"meta": {
"total_count": 1
}
}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.
The ID of the team that owns this escalation policy.
The name of the escalation policy.
A description of the escalation policy.
The number of times the entire policy should be repeated.
The time in minutes after which the policy should be repeated.
Enable or disable incident reminders.
Enable or disable automatic incident re-triggering.
The time in hours after which an incident should be re-triggered.
The request has succeeded and a new resource has been created as a result.
The server could not understand the request due to invalid syntax.
Access is unauthorized.
Client error
Access is forbidden.
The server cannot find the requested resource.
The request conflicts with the current state of the server.
Client error
Server error
Server error
Service unavailable.
Server error
POST /v3/escalation-policies HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 500
{
"owner_id": "text",
"name": "text",
"description": "text",
"repetition": 1,
"repeat_after": 1,
"rules": [
{
"escalationTime": 1,
"via": [
"text"
],
"roundrobin_enabled": true,
"roundrobin_next_index": 1,
"entities": [
{
"id": "text",
"pid": 1,
"type": "user"
}
],
"escalate_within_roundrobin": true,
"repetition": 1,
"repeat_after": 1
}
],
"enable_incident_reminders": true,
"incident_reminder_rules": [
{
"via": [
"text"
],
"time_interval": 1,
"till": 1
}
],
"enable_incident_retrigger": true,
"retrigger_after": 1,
"entity_owner": {
"id": "text",
"type": "text"
}
}{
"data": {
"id": "text",
"name": "text",
"description": "text",
"organization_id": "text",
"repetition": 1,
"repeat_after": 1,
"rules": [
{
"escalationTime": 1,
"via": [
"text"
],
"roundrobin_enabled": true,
"roundrobin_next_index": 1,
"entities": [
{
"id": "text",
"pid": 1,
"type": "user"
}
],
"escalate_within_roundrobin": true,
"repetition": 1,
"repeat_after": 1
}
],
"slug": "text",
"enable_incident_reminders": true,
"incident_reminder_rules": [
{
"via": [
"text"
],
"time_interval": 1,
"till": 1
}
],
"enable_incident_retrigger": true,
"retrigger_after": 1,
"entity_owner": {
"id": "text",
"type": "text"
},
"owner": {
"id": "text",
"type": "team"
},
"access_control": [
{
"user_id": "text",
"abilities": {}
}
]
}
}Returns an escalation policy details of the given escalationPolicyID in the request param. Requires access_token as a Bearer {{token}} in the Authorization header with read scope.
(Required) escalation policy ID
The request has succeeded.
The server could not understand the request due to invalid syntax.
Access is unauthorized.
Client error
Access is forbidden.
The server cannot find the requested resource.
The request conflicts with the current state of the server.
Client error
Server error
Server error
Service unavailable.
Server error
GET /v3/escalation-policies/{escalationPolicyID} HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": {
"id": "text",
"name": "text",
"description": "text",
"organization_id": "text",
"repetition": 1,
"repeat_after": 1,
"rules": [
{
"escalationTime": 1,
"via": [
"text"
],
"roundrobin_enabled": true,
"roundrobin_next_index": 1,
"entities": [
{
"id": "text",
"pid": 1,
"type": "user"
}
],
"escalate_within_roundrobin": true,
"repetition": 1,
"repeat_after": 1
}
],
"slug": "text",
"enable_incident_reminders": true,
"incident_reminder_rules": [
{
"via": [
"text"
],
"time_interval": 1,
"till": 1
}
],
"enable_incident_retrigger": true,
"retrigger_after": 1,
"entity_owner": {
"id": "text",
"type": "text"
},
"owner": {
"id": "text",
"type": "team"
},
"access_control": [
{
"user_id": "text",
"abilities": {}
}
]
}
}Update organization escalation policy details. Requires access_token as a Bearer {{token}} in the Authorization header with user-write scope.
(Required) escalation policy ID
The ID of the team that owns this escalation policy.
The name of the escalation policy.
A description of the escalation policy.
The number of times the entire policy should be repeated.
The time in minutes after which the policy should be repeated.
Enable or disable incident reminders.
Enable or disable automatic incident re-triggering.
The time in hours after which an incident should be re-triggered.
The request has succeeded.
The server could not understand the request due to invalid syntax.
Access is unauthorized.
Client error
Access is forbidden.
The server cannot find the requested resource.
The request conflicts with the current state of the server.
Client error
Server error
Server error
Service unavailable.
Server error
POST /v3/escalation-policies/{escalationPolicyID} HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
authorization: text
Content-Type: text/plain
Accept: */*
Content-Length: 500
"[object Object]"{
"data": {
"id": "text",
"name": "text",
"description": "text",
"organization_id": "text",
"repetition": 1,
"repeat_after": 1,
"rules": [
{
"escalationTime": 1,
"via": [
"text"
],
"roundrobin_enabled": true,
"roundrobin_next_index": 1,
"entities": [
{
"id": "text",
"pid": 1,
"type": "user"
}
],
"escalate_within_roundrobin": true,
"repetition": 1,
"repeat_after": 1
}
],
"slug": "text",
"enable_incident_reminders": true,
"incident_reminder_rules": [
{
"via": [
"text"
],
"time_interval": 1,
"till": 1
}
],
"enable_incident_retrigger": true,
"retrigger_after": 1,
"entity_owner": {
"id": "text",
"type": "text"
},
"owner": {
"id": "text",
"type": "team"
},
"access_control": [
{
"user_id": "text",
"abilities": {}
}
]
}
}Remove escalation policy from the organization. Upon success, the escalation policy will be removed from the organization. Requires access_token as a Bearer {{token}} in the Authorization header with user-write scope.
(Required) escalation policy ID
There is no content to send for this request, but the headers may be useful.
The server could not understand the request due to invalid syntax.
Access is unauthorized.
Client error
Access is forbidden.
The server cannot find the requested resource.
The request conflicts with the current state of the server.
Client error
Server error
Server error
Service unavailable.
Server error
DELETE /v3/escalation-policies/{escalationPolicyID} HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
authorization: text
Accept: */*
{}Last updated