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
| Action | What it does |
|---|---|
| Acknowledge incident | Acknowledge an incident, so Squadcast stops escalating it. |
| Add incident note | Add a note to an incident's war room. |
| Add incident responders | Bring more people into an incident, who are notified. |
| Add incident tags | Add tags to an incident. |
| Create incident | Raise an incident on a service, which notifies whoever its escalation policy says. |
| Get escalation policy | Get an escalation policy's rules: who is notified, how and when. |
| Get incident | Get an incident's message, status, assignees, tags and timeline. |
| Get schedule | Get an on-call schedule's name, time zone, owner and whether it is paused. |
| Get service | Get a service's name, escalation policy, owner team and maintenance status. |
| Get user | Get a user's name, email, role and time zone. |
| List escalation policies | List a team's escalation policies and their rules. |
| List incident notes | List the notes in an incident's war room. |
| List incidents | List a team's incidents created in a time range, by status, service or priority. |
| List schedules | List a team's on-call schedules. |
| List services | List a team's services with their escalation policy and maintenance status. |
| List squads | List a team's squads and their members. |
| List team members | List a team's members and their roles. |
| List teams | List the organization's teams and their members. |
| List users | List the organization's users with their email, role and time zone. |
| Reassign incident | Hand an incident to a user, an escalation policy or a squad. |
| Resolve incident | Resolve an incident, with a note on how it was fixed. |
| Resolve incident by event ID | Resolve the incidents raised on a service with an event ID, as Create incident returns. |
| Snooze incident notifications | Stop an incident's notifications for a number of minutes. |
| Update incident priority | Change an incident's priority. |
Acknowledge incident
Acknowledge an incident, so Squadcast stops escalating it.
Inputs
- Incident
incident_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
- Incident
incident_idtextRequired - The incident's ID.
- Note
messagetextRequired - 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
- Incident
incident_idtextRequired - The incident's ID.
- Users
user_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
- Incident
incident_idtextRequired - The incident's ID.
- Tags
tagsobjectRequired - 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
- Service
service_idtextRequired - The service.
- Message
messagetextRequired - What is happening. It is the incident's title.
- Description
descriptiontext - More detail about the incident.
- Priority
prioritytext - 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)). - Tags
tagsobject - Tags for the incident, as name and value pairs, such as `severity` and `high`.
- Event ID
event_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 policy
escalation_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
- Incident
incident_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
- Schedule
schedule_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
- Service
service_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
- User
usertextRequired - 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
- Team
teamtextRequired - 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
- Incident
incident_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
- Team
teamtextRequired - The team.
- Created from
start_timedate and time - Only incidents created at or after this time. Leave empty for seven days before Created until.
- Created until
end_timedate and time - Only incidents created before this time. Leave empty for now.
- Statuses
statuseslist - Only incidents with these statuses.One or more of:
triggered,acknowledged,resolved,suppressed. - Services
service_idslist - Only incidents on these services.
- Priorities
prioritieslist - Only incidents with these priorities.One or more of:
P1(P1 (critical)),P2(P2 (high)),P3(P3 (moderate)),P4(P4 (low)),P5(P5 (informational)). - Containing
texttext - Only incidents containing this text.
- Sort by
sort_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
- Team
teamtextRequired - The team.
- Search
searchtext - 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
- Team
teamtextRequired - The team.
- Name
nametext - 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
- Team
teamtextRequired - 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
- Team
teamtextRequired - 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
- Incident
incident_idtextRequired - The incident's ID.
- User
usertext - The user to hand it to.
- Escalation policy
escalation_policy_idtext - The escalation policy to hand it to.
- Squad
squad_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
- Incident
incident_idtextRequired - The incident's ID.
- Resolution note
resolutiontextRequired - 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
- Service
service_idtextRequired - The service.
- Event ID
event_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
- Incident
incident_idtextRequired - The incident's ID.
- Minutes
minutesnumberRequired - 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
- Incident
incident_idtextRequired - The incident's ID.
- Priority
prioritytextRequired - 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"
}
}
}