Activity 연결
activity_slug을 설정하여 알림을 기존 Live Activity에 연결하세요. 알림을 탭하면 PushWard iOS 앱에서 해당 activity로 딥링크됩니다.

The activity_slug field
| Field | Type | Description |
|---|---|---|
activity_slug | string | Slug of an existing activity. The notification appears linked to that activity in the iOS app's notification inbox; tapping it opens the activity's detail screen. |
경고
An unknown activity_slug is rejected with HTTP 422 before the
notification is persisted. Create the activity first, then post the notification.
Example
빌드 activity에 연결된 알림
curl -X POST https://api.pushward.app/notifications \
-H "Authorization: Bearer hlk_YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"title": "Build complete",
"body": "Workflow #1234 finished in 3m 12s",
"source": "github-actions",
"source_display_name": "GitHub Actions",
"activity_slug": "my-build",
"push": true
}'