/liveActivity/update

Updates an active Live Activity. All current recipients receive the new content.

Note: A Live Activity expires 13 hours after it was started. Update and end operations are only allowed within this window.


REST-layer validations — HTTP 400, internal code 11:

FieldRuleError message
activityIdRequiredActivityId is required
activityIdActivity has ended and is waiting to expireActivityId '{activityId}' has been ended and is scheduled to close on {endDateUtc} (UTC). No further operations are allowed until it expires.
activityIdNo active subscribers (expired or no permission granted)No active subscribers found for ActivityId: {id}. Users may not have granted permission for live activities or the activity has expired.
activityIdConcurrent lock held — retryableAnother operation is currently in progress for ActivityId '{id}'. Please try again shortly.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

Required. The activityId of the Live Activity to update. Must be an active activity (within the 13-hour TTL). Returns HTTP 400 if no active subscribers are found.

iosPayload
object

iOS-specific update payload. Contains dynamic objects — send whatever fields your widget template expects.

  • contentState — updated state data driving the live widget view.
  • alert — optional APNs alert shown with the update.
  • attributes — static attributes for the activity. Fields depend on your app's template.
androidPayload
object

Android-specific update payload. Fully dynamic object — send whatever fields your widget template expects.

uuid

Optional idempotency key. See Rest API Idempotency tag for details.

Headers
string
required
Defaults to {$$.env.access_token}
Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json