Skip to main content
POST
End a Live Activity
Ends a contact’s activity on every device running it. Each token is marked ended once APNs accepts the push, so you can send an end again if one failed. Requires the transactional:send scope. Without dismissalDate, iOS keeps an ended activity on the Lock Screen for up to four hours. Pass 0 or a past date to remove it right away.

Request

string
required
The activity to end.
string
Contact whose activity it is. Provide email or subscriberId.
string
Subscriber whose activity it is.
object
required
Final content shown until the activity is removed. Apple’s end payloads always include it, and iOS can drop an end without it.
integer | string
When to remove it: Unix seconds or an ISO 8601 date.
object
Optional title, body and sound.
string
default:"high"
high or low, as for updates.
integer | string
Unix seconds or an ISO 8601 date.
number
Orders a person’s concurrent activities.

Responses

A body with a missing or mistyped field is rejected with 422 before any other check; invalid ids, dates and the missing contact return 400.