

Welcome to ActivitySmith
ActivitySmith is API service that lets you trigger and update Live Activities and send push notifications directly from your own infrastructure. Pair your iOS device(s), authenticate with an API key, and send real-time alerts from any backend, cron, agent, or automation. Without building or maintaining your own iOS app or dealing directly with APNs. Check out the following resources to get started: Want an SDK or Integration? Let us know at adam@activitysmith.com.Prerequisites
- Create an API key
- Download our iOS app and pair your device(s)
Features
- Push Notifications: send push notifications to all paired devices or target specific channels.
- Live Activities: start, update and end a Live Activity on your lock screen or dynamic island, with optional channel targeting and action buttons.
- Widgets: display any value on your Lock Screen with widgets - SaaS metrics, revenue, signups, uptime, habits, or anything else you want to track.
- App Icon Badge Count: show the number you care about on your ActivitySmith app icon.
- Inbound Webhooks: forward events from external services such as Vercel, Netlify, Railway, and more, into Push Notifications and Live Activities.
Powerful Capabilities
- Glanceable observability: monitor real-time system state and long-running operations directly on your lock screen or dynamic island.
- The hard stuff: APNs(Apple Push Notification service), certificates, orchestration
- Customizability: adapt the experience to fit your unique needs.
- Works with any backend: use with any backend, cron, agent, automation or AI tool.
- iOS app: ready to use native iOS app for your iPhone or iPad. No need to build your own.
Push Notifications
To send a push notification, use thepush-notification endpoint. It takes title and optional fields like message, payload, media, redirection, actions, and target.channels.target.channels accepts channel slugs (for example ["devs", "ops"]).
mediaattaches an image, audio file, or video that users can preview or play when they expand the notification.redirectionopens an HTTPS URL or runs a specific iPhone Shortcut with ashortcuts://run-shortcut?name=...URL on normal tap.actions(up to 4) appear when users expand the notification.open_urlactions support HTTPS URLs andshortcuts://run-shortcut?name=...URLs;webhookactions call your backend.media + redirectionis supported.media + actionsis not supported in v1.
Live Activities
There are six types of Live Activities:| Type | Best for | Required state |
|---|---|---|
stats | up to 8 labeled values | title, type, and a non-empty metrics array |
metrics | Live operational stats | title, type, and a non-empty metrics array |
segmented_progress | Jobs tracked in steps | title, type, number_of_steps, current_step |
progress | Jobs with continuous progress | title, type, and either percentage or value + upper_limit |
alert | Focused status updates | title, type, and message |
timer | Countdowns or elapsed runtime | title, type, and either duration_seconds or counts_down set to false |
Start & Update Live Activity
Use stream updates to start, update, and dismiss Live Activities with a stablestream_key.
Send the latest state for a stable stream_key, and ActivitySmith starts or
updates the Live Activity. You do not need to keep local state between updates.
When the work is done, call DELETE /live-activity/stream/:stream_key with the
same stream_key to dismiss the Live Activity. You can include final values
before it is removed. By default, iOS removes the Live Activity after two
minutes. Set auto_dismiss_minutes to choose a different dismissal time,
including 0 for immediate dismissal.
Action Buttons
Live Activities support an optionalaction button shown on the Lock Screen. Use it to have a one-tap path from a long-running job to the place where you can act on it. The action field is accepted on stream updates and works with all Live Activity types.
alert, progress, and segmented_progress Live Activities also support secondary_action, which adds a second button beside the primary action. Both buttons use the same payload shape.
For alert Live Activities, set content_state.color to tint the action
and secondary action buttons. icon.color and badge.color only affect the icon and badge.


open_url: opens an HTTPS URL or runs a specific iPhone Shortcut with ashortcuts://run-shortcut?name=...URL.webhook: ActivitySmith’s backend calls your HTTPS webhook withGETorPOST.
action and secondary_action objects accept:
| Field | Required | Description |
|---|---|---|
title | yes | Button label shown on the Live Activity. |
type | yes | Either open_url or webhook. |
url | yes | For open_url, use an HTTPS URL or a shortcuts://run-shortcut?name=... URL. For webhook, use an HTTPS endpoint. |
method | webhook only | GET or POST. |
body | webhook only | Optional JSON payload sent with the webhook request. |
open_url
Useopen_url when the button should jump the user to a dashboard or run page
tied to the work. You can also use a shortcuts://run-shortcut?name=... URL to
run a specific iPhone Shortcut, for example to open an app on your iPhone.
webhook
Usewebhook when the button should trigger an action in your backend, like
pausing a job, acknowledging an alert, or canceling a workflow. ActivitySmith
calls the URL server-side, so the user does not leave the Lock Screen.
secondary_action
Usesecondary_action when an alert, progress, or segmented_progress Live Activity needs a second button, for example an approval prompt with “Send” and “Deny” actions.
open_urlsupports HTTPS URLs andshortcuts://run-shortcut?name=...URLs.webhookURLs must use HTTPS.- Use
actionfor the primary button. - Use
secondary_actionfor a second button onalert,progress, andsegmented_progressLive Activities. - Pass
actionorsecondary_actionon an update call to set or replace buttons on an active Live Activity.
Channel Targeting
You can usechannels to target specific team members or devices when sending a push notification, live activity or app icon badge count update:
- If
targetis omitted and API key scope isall: send to all account recipients. - If
targetis omitted and API key scope ischannels: send to channels assigned to that key. - If
target.channelsis present: only those channel slugs are used.