Update Broadcast Live Activity
curl --request POST \
--url https://api-{dc}.moengage.com/v1.0/live-activity/broadcast/update \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--header 'X-MOE-APPKEY: <x-moe-appkey>' \
--data '
{
"broadcast_live_activity_id": "<string>",
"ios": {
"content_state": {},
"alert": {
"title": "<string>",
"body": "<string>",
"subtitle": "<string>",
"sound": "<string>"
},
"dismissal_date": 123,
"stale_date": 123
},
"instance_id": "<string>"
}
'{
"data": {
"instance_id": "1749822841120-57c5c617",
"message": "success"
}
}
Update Broadcast Live Activity
This API pushes a single, unified update to all subscribed Live Activities, such as an updated game score or a new development in a breaking news story.
POST
/
live-activity
/
broadcast
/
update
Update Broadcast Live Activity
curl --request POST \
--url https://api-{dc}.moengage.com/v1.0/live-activity/broadcast/update \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--header 'X-MOE-APPKEY: <x-moe-appkey>' \
--data '
{
"broadcast_live_activity_id": "<string>",
"ios": {
"content_state": {},
"alert": {
"title": "<string>",
"body": "<string>",
"subtitle": "<string>",
"sound": "<string>"
},
"dismissal_date": 123,
"stale_date": 123
},
"instance_id": "<string>"
}
'{
"data": {
"instance_id": "1749822841120-57c5c617",
"message": "success"
}
}
Rate Limit
The rate limit for this endpoint is 500 requests per minute per workspace and 5 requests per minute per live activity ID.Authorizations
Authentication is done via Basic Auth. This requires a base64-encoded string of your credentials in the format 'username:password'.
- Username: Use your MoEngage workspace ID (also known as the App ID). You can find it in the MoEngage dashboard at Settings > Account > APIs > Workspace ID (earlier app id).
- Password: Use your API Key, which you can find within the Push tile.
For more information on authentication and getting your credentials, refer here.
Headers
Body
application/json
The payload containing the updated content state and optional alert for the Live Activity.
This field denotes the unique identifier for the broadcast Live Activity campaign. It links the broadcast request to a specific campaign previously created via the Create Push Campaigns API with the BROADCAST_LIVE_ACTIVITY delivery type.