Push
End a Live Activity
Changed onEnds the contact's activity on every device running it. Tokens are marked ended as APNs accepts the push, so an end that failed can be sent again. Without dismissalDate iOS keeps an ended activity on the Lock Screen for up to four hours. Requires the transactional:send scope.
post/push/live-activities/end
Request
- Base URLhttps://api.sequenzy.com/api/v1
- URLhttps://api.sequenzy.com/api/v1/push/live-activities/end
- AuthHTTP bearer
Request body
Example request
{
"activityId": "order-1234",
"alert": {
"title": "Your order is on its way",
"body": "Arriving in about 8 minutes."
},
"dismissalDate": 1760979600,
"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