v1
latestOpenAPI 3.1.02026-07-26497885.9 KBStart Live Activity
Remotely start a Live Activity on iOS devices via OneSignal's REST API. Define the activity type, target users, and send dynamic, updatable content directly to a Live Activity interface.
post/apps/{app_id}/activities/activity/{activity_type}
Path parameters
app_idstring required
Your OneSignal App ID in UUID v4 format. See Keys & IDs.
activity_typestring required
The name of the Live Activity defined in your app. This should match the your-nameAttributes struct used in your app code. See Live Activities developer setup. Example: If your app defines a Live Activity as OneSignalWidgetAttributes, then activity_type should be OneSignalWidgetAttributes.
Headers
Authorizationstring required
Your App API key with prefix Key . See Keys & IDs.
Request body
Response
201