Update Live Activity
Update or terminate running iOS Live Activities using OneSignal's Live Activities API. This endpoint enables real-time content updates and activity termination, ensuring dynamic, context-aware user experiences.
post/apps/{app_id}/live_activities/{activity_id}/notifications
Request
- Base URLhttps://api.onesignal.com
- URLhttps://api.onesignal.com/apps/{app_id}/live_activities/{activity_id}/notifications
- Authnone required
Path parameters
app_idstring required
Your OneSignal App ID in UUID v4 format. See Keys & IDs.
activity_idstring required
The topic key of the Live Activity to update, set when the activity started. This request fans out to every device registered under this value. See Choose an activity ID.
Headers
Content-Typestring required
Authorizationstring required
Your App API key with prefix Key . See Keys & IDs.
Request body
Response
201
Changes
No recorded changes to this operation across all 2 revisions of this API.