v1
latestOpenAPI 3.1.02026-07-26497885.9 KBUpdate 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
Path parameters
app_idstring required
Your OneSignal App ID in UUID v4 format. See Keys & IDs.
activity_idstring required
An identifier you set when starting the Live Activity to uniquely identify it and associated devices with the event. This value is crucial for maintaining a consistent reference to the Live Activity across different devices and sessions. Consider using a UUID, CUID, or NanoID for this parameter.
Headers
Content-Typestring required
Authorizationstring required
Your App API key with prefix Key . See Keys & IDs.
Request body
Response
201