Squadcast

App · 24 actions

Raise, acknowledge, reassign and resolve Squadcast incidents, add notes, tags and responders, look up services, teams, users, escalation policies, schedules and squads, and follow new, acknowledged and resolved incidents.

Actions

ActionWhat it does
Acknowledge incidentAcknowledge an incident, so Squadcast stops escalating it.
Add incident noteAdd a note to an incident's war room.
Add incident respondersBring more people into an incident, who are notified.
Add incident tagsAdd tags to an incident.
Create incidentRaise an incident on a service, which notifies whoever its escalation policy says.
Get escalation policyGet an escalation policy's rules: who is notified, how and when.
Get incidentGet an incident's message, status, assignees, tags and timeline.
Get scheduleGet an on-call schedule's name, time zone, owner and whether it is paused.
Get serviceGet a service's name, escalation policy, owner team and maintenance status.
Get userGet a user's name, email, role and time zone.
List escalation policiesList a team's escalation policies and their rules.
List incident notesList the notes in an incident's war room.
List incidentsList a team's incidents created in a time range, by status, service or priority.
List schedulesList a team's on-call schedules.
List servicesList a team's services with their escalation policy and maintenance status.
List squadsList a team's squads and their members.
List team membersList a team's members and their roles.
List teamsList the organization's teams and their members.
List usersList the organization's users with their email, role and time zone.
Reassign incidentHand an incident to a user, an escalation policy or a squad.
Resolve incidentResolve an incident, with a note on how it was fixed.
Resolve incident by event IDResolve the incidents raised on a service with an event ID, as Create incident returns.
Snooze incident notificationsStop an incident's notifications for a number of minutes.
Update incident priorityChange an incident's priority.

Acknowledge incident

Acknowledge an incident, so Squadcast stops escalating it.

Inputs

Incidentincident_idtextRequired
The incident's ID.

Outputs

dataobject
The response from Squadcast.
Example output
{
  "data": {
    "data": "example"
  }
}

Add incident note

Add a note to an incident's war room.

Inputs

Incidentincident_idtextRequired
The incident's ID.
NotemessagetextRequired
The note.

Outputs

dataobject
The response from Squadcast.
Example output
{
  "data": {
    "data": {
      "created_at": "example",
      "id": "example",
      "incident_id": "example",
      "message": "example",
      "type": "example",
      "user": {
        "first_name": "example",
        "id": "example",
        "last_name": "example"
      },
      "user_id": "example"
    }
  }
}

Add incident responders

Bring more people into an incident, who are notified.

Inputs

Incidentincident_idtextRequired
The incident's ID.
Usersuser_idslistRequired
The people to add.

Outputs

dataobject
The response from Squadcast.
Example output
{
  "data": {
    "data": {
      "additional_responders": [
        {
          "id": "example",
          "name": "example",
          "time_of_assignment": "example",
          "type": "example"
        }
      ]
    }
  }
}

Add incident tags

Add tags to an incident. Tags it already has are kept.

Inputs

Incidentincident_idtextRequired
The incident's ID.
TagstagsobjectRequired
The tags to add, as name and value pairs.

Outputs

dataobject
The response from Squadcast.
Example output
{
  "data": {
    "data": {
      "alert_source_id": "example",
      "assignedTo": [
        {
          "id": "example",
          "reason": "example",
          "timeOfAssignment": "example",
          "type": "example"
        }
      ],
      "description": "example",
      "id": "example",
      "incidentNumber": 1,
      "last_acknowledged_at": "example",
      "message": "example",
      "service_id": "example",
      "status": "example",
      "tags": {},
      "timeOfCreation": "example",
      "updated_at": "example"
    }
  }
}

Create incident

Raise an incident on a service, which notifies whoever its escalation policy says. Returns the event ID that resolves it, and the incident's ID once Squadcast has made it.

Inputs

Serviceservice_idtextRequired
The service.
MessagemessagetextRequired
What is happening. It is the incident's title.
Descriptiondescriptiontext
More detail about the incident.
Priorityprioritytext
How urgent it is. Leave empty to leave it unset.One of: P1 (P1 (critical)), P2 (P2 (high)), P3 (P3 (moderate)), P4 (P4 (low)), P5 (P5 (informational)).
Tagstagsobject
Tags for the incident, as name and value pairs, such as `severity` and `high`.
Event IDevent_idtext
Your own ID for the event, used to resolve it later. Leave empty to have one made.

Outputs

dataobject
The response from Squadcast.
Example output
{
  "data": {
    "eventId": "example",
    "incidentId": "example",
    "serviceId": "example"
  }
}

Get escalation policy

Get an escalation policy's rules: who is notified, how and when.

Inputs

Escalation policyescalation_policy_idtextRequired
The escalation policy.

Outputs

dataobject
The response from Squadcast.
Example output
{
  "data": {
    "data": {
      "description": "example",
      "id": "example",
      "name": "example",
      "repeat_after": 1,
      "repetition": 1,
      "rules": [
        {
          "entities": [
            {
              "id": "example",
              "type": "example"
            }
          ],
          "escalationTime": 1,
          "via": [
            "example"
          ]
        }
      ],
      "slug": "example"
    }
  }
}

Get incident

Get an incident's message, status, assignees, tags and timeline.

Inputs

Incidentincident_idtextRequired
The incident's ID.

Outputs

dataobject
The response from Squadcast.
Example output
{
  "data": {
    "data": {
      "alert_source_id": "example",
      "assignedTo": [
        {
          "id": "example",
          "reason": "example",
          "timeOfAssignment": "example",
          "type": "example"
        }
      ],
      "description": "example",
      "id": "example",
      "incidentNumber": 1,
      "last_acknowledged_at": "example",
      "message": "example",
      "service_id": "example",
      "status": "example",
      "tags": {},
      "timeOfCreation": "example",
      "updated_at": "example"
    }
  }
}

Get schedule

Get an on-call schedule's name, time zone, owner and whether it is paused.

Inputs

Scheduleschedule_idtextRequired
The schedule.

Outputs

dataobject
The response from Squadcast.
Example output
{
  "data": {
    "data": {
      "createdAt": "example",
      "description": "example",
      "id": 1,
      "name": "example",
      "ownerID": "example",
      "ownerType": "example",
      "paused": true,
      "teamID": "example",
      "timeZone": "example",
      "updatedAt": "example"
    }
  }
}

Get service

Get a service's name, escalation policy, owner team and maintenance status.

Inputs

Serviceservice_idtextRequired
The service.

Outputs

dataobject
The response from Squadcast.
Example output
{
  "data": {
    "description": "example",
    "email": "example",
    "escalation_policy": {
      "id": "example",
      "name": "example"
    },
    "escalation_policy_id": "example",
    "id": "example",
    "name": "example",
    "on_maintenance": true,
    "owner": {
      "id": "example",
      "type": "example"
    },
    "slug": "example"
  }
}

Get user

Get a user's name, email, role and time zone.

Inputs

UserusertextRequired
The user.

Outputs

dataobject
The response from Squadcast.
Example output
{
  "data": {
    "data": {
      "email": "example",
      "email_verified": true,
      "first_name": "example",
      "id": "example",
      "last_name": "example",
      "role": "example",
      "time_zone": "example",
      "title": "example",
      "username_for_display": "example"
    }
  }
}

List escalation policies

List a team's escalation policies and their rules.

Inputs

TeamteamtextRequired
The team.

Outputs

dataobject
The response from Squadcast.
Example output
{
  "data": {
    "data": [
      {
        "description": "example",
        "id": "example",
        "name": "example",
        "repeat_after": 1,
        "repetition": 1,
        "rules": [
          {
            "entities": [
              {
                "id": "example",
                "type": "example"
              }
            ],
            "escalationTime": 1,
            "via": [
              "example"
            ]
          }
        ],
        "slug": "example"
      }
    ]
  }
}

List incident notes

List the notes in an incident's war room.

Inputs

Incidentincident_idtextRequired
The incident's ID.

Outputs

dataobject
The response from Squadcast.
Example output
{
  "data": {
    "data": [
      {
        "created_at": "example",
        "id": "example",
        "incident_id": "example",
        "message": "example",
        "type": "example",
        "user": {
          "first_name": "example",
          "id": "example",
          "last_name": "example"
        },
        "user_id": "example"
      }
    ]
  }
}

List incidents

List a team's incidents created in a time range, by status, service or priority.

Inputs

TeamteamtextRequired
The team.
Created fromstart_timedate and time
Only incidents created at or after this time. Leave empty for seven days before Created until.
Created untilend_timedate and time
Only incidents created before this time. Leave empty for now.
Statusesstatuseslist
Only incidents with these statuses.One or more of: triggered, acknowledged, resolved, suppressed.
Servicesservice_idslist
Only incidents on these services.
Prioritiesprioritieslist
Only incidents with these priorities.One or more of: P1 (P1 (critical)), P2 (P2 (high)), P3 (P3 (moderate)), P4 (P4 (low)), P5 (P5 (informational)).
Containingtexttext
Only incidents containing this text.
Sort bysort_bytext
What to sort by. Leave empty for time.One of: time, priority.

Outputs

dataobject
The response from Squadcast.
Example output
{
  "data": {
    "incidents": [
      {
        "created_at": "example",
        "description": "example",
        "id": "example",
        "message": "example",
        "priority": "example",
        "service": "example",
        "status": "example"
      }
    ]
  }
}

List schedules

List a team's on-call schedules.

Inputs

TeamteamtextRequired
The team.
Searchsearchtext
Only schedules whose name contains this.

Outputs

dataobject
The response from Squadcast.
Example output
{
  "data": {
    "data": [
      {
        "createdAt": "example",
        "description": "example",
        "id": 1,
        "name": "example",
        "ownerID": "example",
        "ownerType": "example",
        "paused": true,
        "teamID": "example",
        "timeZone": "example",
        "updatedAt": "example"
      }
    ],
    "pageInfo": {
      "hasNext": true,
      "nextCursor": "example"
    }
  }
}

List services

List a team's services with their escalation policy and maintenance status.

Inputs

TeamteamtextRequired
The team.
Namenametext
Only the service with this name.

Outputs

datalist
The response from Squadcast.
Example output
{
  "data": [
    {
      "description": "example",
      "email": "example",
      "escalation_policy": {
        "id": "example",
        "name": "example"
      },
      "escalation_policy_id": "example",
      "id": "example",
      "name": "example",
      "on_maintenance": true,
      "owner": {
        "id": "example",
        "type": "example"
      },
      "slug": "example"
    }
  ]
}

List squads

List a team's squads and their members.

Inputs

TeamteamtextRequired
The team.

Outputs

dataobject
The response from Squadcast.
Example output
{
  "data": {
    "data": [
      {
        "createdAt": "example",
        "id": "example",
        "members": [
          {
            "role": "example",
            "user_id": "example"
          }
        ],
        "name": "example",
        "team_id": "example"
      }
    ],
    "pageInfo": {
      "hasNext": true,
      "nextCursor": "example"
    }
  }
}

List team members

List a team's members and their roles.

Inputs

TeamteamtextRequired
The team.

Outputs

dataobject
The response from Squadcast.
Example output
{
  "data": {
    "data": [
      {
        "role": "example",
        "role_ids": [
          "example"
        ],
        "user_id": "example"
      }
    ]
  }
}

List teams

List the organization's teams and their members.

Inputs

None.

Outputs

dataobject
The response from Squadcast.
Example output
{
  "data": {
    "data": [
      {
        "created_at": "example",
        "description": "example",
        "id": "example",
        "members": [
          {
            "role": "example",
            "user_id": "example"
          }
        ],
        "name": "example",
        "slug": "example"
      }
    ]
  }
}

List users

List the organization's users with their email, role and time zone.

Inputs

None.

Outputs

dataobject
The response from Squadcast.
Example output
{
  "data": {
    "data": [
      {
        "email": "example",
        "email_verified": true,
        "first_name": "example",
        "id": "example",
        "last_name": "example",
        "role": "example",
        "time_zone": "example",
        "title": "example",
        "username_for_display": "example"
      }
    ]
  }
}

Reassign incident

Hand an incident to a user, an escalation policy or a squad. Choose one.

Inputs

Incidentincident_idtextRequired
The incident's ID.
Userusertext
The user to hand it to.
Escalation policyescalation_policy_idtext
The escalation policy to hand it to.
Squadsquad_idtext
The squad to hand it to.

Outputs

dataobject
The response from Squadcast.
Example output
{
  "data": {
    "data": "example"
  }
}

Resolve incident

Resolve an incident, with a note on how it was fixed.

Inputs

Incidentincident_idtextRequired
The incident's ID.
Resolution noteresolutiontextRequired
How the incident was resolved.

Outputs

dataobject
The response from Squadcast.
Example output
{
  "data": {
    "data": "example"
  }
}

Resolve incident by event ID

Resolve the incidents raised on a service with an event ID, as Create incident returns.

Inputs

Serviceservice_idtextRequired
The service.
Event IDevent_idtextRequired
The event ID the incident was raised with.

Outputs

dataobject
The response from Squadcast.
Example output
{
  "data": {
    "eventId": "example",
    "serviceId": "example"
  }
}

Snooze incident notifications

Stop an incident's notifications for a number of minutes.

Inputs

Incidentincident_idtextRequired
The incident's ID.
MinutesminutesnumberRequired
How many minutes to snooze for.At least 1.

Outputs

dataobject
The response from Squadcast.
Example output
{
  "data": {
    "data": {
      "incident_id": "example",
      "is_snoozed": true,
      "snooze_end_time": "example"
    }
  }
}

Update incident priority

Change an incident's priority.

Inputs

Incidentincident_idtextRequired
The incident's ID.
PriorityprioritytextRequired
The new priority.One of: P1 (P1 (critical)), P2 (P2 (high)), P3 (P3 (moderate)), P4 (P4 (low)), P5 (P5 (informational)).

Outputs

dataobject
The response from Squadcast.
Example output
{
  "data": {
    "data": {
      "incident_id": "example",
      "priority": "example"
    }
  }
}

On this page