Push
Start a Live Activity
Changed onStarts an iOS Live Activity remotely (push-to-start, iOS 17.2+) on every device of one contact that reported a push-to-start token for activityType. Sequenzy adds sequenzy.activityId to the attributes so the SDK can report the new activity's update token under your id. Returns 202 with tokenCount 0, sending nothing, when no device can start it. Calling it again starts another copy. Requires the transactional:send scope.
post/push/live-activities/start
Request
- Base URLhttps://api.sequenzy.com/api/v1
- URLhttps://api.sequenzy.com/api/v1/push/live-activities/start
- AuthHTTP bearer
Request body
Example request
{
"activityType": "DeliveryAttributes",
"activityId": "order-1234",
"attributes": {
"orderNumber": "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