Skip to main content
WEBHOOK
schedule.shift_change_v1
{
  "event_type": "schedule.shift_change_v1",
  "schedule.shift_change_v1": {
    "current_users": [
      {
        "email": "lisa@incident.io",
        "id": "01FCNDV6P870EA6S7TK1DSYDG0",
        "name": "Lisa Karlin Curtis",
        "role": "owner",
        "slack_user_id": "U02AYNF2XJM"
      }
    ],
    "previous_users": [
      {
        "email": "lisa@incident.io",
        "id": "01FCNDV6P870EA6S7TK1DSYDG0",
        "name": "Lisa Karlin Curtis",
        "role": "owner",
        "slack_user_id": "U02AYNF2XJM"
      }
    ],
    "schedule": {
      "created_at": "2021-08-17T13:28:57.801578Z",
      "id": "01G0J1EXE7AXZ2C93K61WBPYEH",
      "name": "Primary On-Call Schedule",
      "team_ids": [
        "01JPQA75EPNEES4479P16P4XAB"
      ],
      "timezone": "Europe/London",
      "updated_at": "2021-08-17T13:28:57.801578Z"
    }
  }
}

Authorizations

Authorization
string
header
required

API key from your incident.io dashboard (Settings → API keys)

Response

200 - application/json

OK response.

event_type
enum<string>
required

What type of event is this webhook for?

Available options:
public_incident.incident_created_v2,
private_incident.incident_created_v2,
public_incident.incident_updated_v2,
private_incident.incident_updated_v2,
public_incident.incident_status_updated_v2,
public_incident.follow_up_created_v1,
private_incident.follow_up_created_v1,
public_incident.follow_up_updated_v1,
private_incident.follow_up_updated_v1,
public_incident.follow_up_created_v2,
private_incident.follow_up_created_v2,
public_incident.follow_up_updated_v2,
private_incident.follow_up_updated_v2,
public_incident.action_created_v1,
private_incident.action_created_v1,
public_incident.action_updated_v1,
private_incident.action_updated_v1,
public_alert.alert_created_v1,
private_alert.alert_created_v1,
public_alert.alert_resolved_v1,
private_alert.alert_resolved_v1,
public_escalation.escalation_created_v1,
private_escalation.escalation_created_v1,
public_escalation.escalation_status_updated_v1,
private_escalation.escalation_status_updated_v1,
private_incident.membership_granted_v1,
private_incident.membership_revoked_v1,
public_incident.postmortem_document_status_updated_v1,
private_incident.postmortem_document_status_updated_v1,
schedule.shift_change_v1
Example:

"schedule.shift_change_v1"

schedule.shift_change_v1
object
required
Example:
{
  "current_users": [
    {
      "email": "lisa@incident.io",
      "id": "01FCNDV6P870EA6S7TK1DSYDG0",
      "name": "Lisa Karlin Curtis",
      "role": "owner",
      "slack_user_id": "U02AYNF2XJM"
    }
  ],
  "previous_users": [
    {
      "email": "lisa@incident.io",
      "id": "01FCNDV6P870EA6S7TK1DSYDG0",
      "name": "Lisa Karlin Curtis",
      "role": "owner",
      "slack_user_id": "U02AYNF2XJM"
    }
  ],
  "schedule": {
    "created_at": "2021-08-17T13:28:57.801578Z",
    "id": "01G0J1EXE7AXZ2C93K61WBPYEH",
    "name": "Primary On-Call Schedule",
    "team_ids": ["01JPQA75EPNEES4479P16P4XAB"],
    "timezone": "Europe/London",
    "updated_at": "2021-08-17T13:28:57.801578Z"
  }
}