Skip to content

On-call quickstart

By the end of this guide you’ll have a schedule called Primary on-call that hands off every Monday at 09:00 in your timezone, rotating between two engineers.

  • At least two users in the account (invite teammates first).
  • Their UUIDs (GET /account/info returns them, or look in Settings → Team).
  1. On-call → New schedule.

  2. Name: Primary on-call. Timezone: pick yours (defaults to UTC). Save.

  1. On the schedule, Add layer.

  2. Configure:

    • Rotation: Weekly.
    • Handoff day: Monday.
    • Handoff time: 09:00.
    • Participants: add Alice and Bob in the order you want them to rotate.
  3. Save.

The schedule’s detail page shows a calendar view with the current shift highlighted and the next 4 weeks laid out.

A schedule on its own doesn’t page anyone; you need an escalation policy that targets it.

Terminal window
# Create a policy
curl -X POST https://api.siteqwality.com/escalation_policy \
-H "Authorization: Bearer $SITEQWALITY_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "name": "Primary on-call escalation" }'
# Add a level that pages the schedule
curl -X POST https://api.siteqwality.com/escalation_policy/$POLICY_ID/level \
-H "Authorization: Bearer $SITEQWALITY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"timeout_minutes": 5,
"target_schedule_ids": ["'$SCHEDULE_ID'"]
}'

This level pages whoever is on-call in $SCHEDULE_ID and waits 5 minutes for them to ack before moving on.