Skip to content

Use cases

A day on PushWard

One homelab, one day of pushes. Pick a time to see which service sends what, which way it comes in, and how it lands on the iPhone.

Workday script

Start the workday with one tap

At 7:00 a small script asks on the Lock Screen. Tapping Start answers it, and the card turns into an eight-hour countdown.

Workday script sends through REST API to PushWard, which delivers to iPhone, Apple Watch, Mac.

How it's wired
workday.sh
# 07:00 from cron or launchd
curl -X POST https://api.pushward.app/activities \
  -H "Authorization: Bearer hlk_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
      "slug": "approval-request",
      "name": "Workday"
    }'

curl -X PATCH https://api.pushward.app/activities/approval-request \
  -H "Authorization: Bearer hlk_YOUR_KEY" \
  -H "Content-Type: application/merge-patch+json" \
  -d '{
      "state": "ongoing",
      "content": {
        "template": "approval",
        "state": "Start your workday?",
        "source": "Script",
        "icon": "calendar",
        "accent_color": "blue",
        "details": [
          {
            "label": "Calendar",
            "value": "3 meetings, first at 9:30"
          }
        ],
        "options": [
          {
            "id": "start",
            "title": "Start",
            "style": "primary"
          },
          {
            "id": "later",
            "title": "Later",
            "style": "secondary"
          }
        ]
      }
    }'
Read the guide

Find your setup

The same flows, grouped by who would run them. Open one to see its config.

Wire up your first service

Get an integration key in the app, pick one of the ways in above, and your first card is on the Lock Screen a few minutes later.