యాక్టివిటీ లింక్
activity_slug ను సెట్ చేయడం ద్వారా ఒక నోటిఫికేషన్ను ఇప్పటికే ఉన్న Live Activity కు అనుసంధానించండి. నోటిఫికేషన్ను నొక్కడం PushWard iOS యాప్లో ఆ యాక్టివిటీలోకి డీప్-లింక్ చేస్తుంది.

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
ఒక బిల్డ్ యాక్టివిటీకి లింక్ చేయబడిన నోటిఫికేషన్
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
}'