Push
Update a Live Activity
Changed onSends new content state to every running copy of the contact's activity (one per device that reported an update token). Each request carries a fixed timestamp, so a retried or late delivery never replaces newer content. Returns tokenCount 0 when no running copy has reported a token. Requires the transactional:send scope.
post/push/live-activities/update
Request
- Base URLhttps://api.sequenzy.com/api/v1
- URLhttps://api.sequenzy.com/api/v1/push/live-activities/update
- AuthHTTP bearer
Request body
Example request
{
"activityId": "order-1234",
"contentState": {
"status": "out_for_delivery",
"minutesAway": 8
},
"alert": {
"title": "Your order is on its way",
"body": "Arriving in about 8 minutes."
},
"staleDate": 1760979600
}Response
Queued (or nothing to send when tokenCount is 0)
Example response
{
"activityId": "order-1234",
"tokenCount": 1,
"message": "Update queued for 1 device."
}Changes
- info
endpoint added
- info