Skip to main content
Version: 5.7.0

SysSendEventToProfiles

Sends an event to multiple users with the attached json data.

ServiceOperation
eventSYS_SEND_EVENT_TO_PROFILES

Usage

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"status": 200,
"data": {
"errorProfiles": [],
"errorCount": 0,
"sentCount": 2
}
}

Method Parameters

ParameterDescription
toIdsThe profile ids of the users to send the event.
eventTypeThe user-defined type of the event.
eventDataThe user-defined data for this event encoded in JSON.
fromProfileIdProfile id of the user/system triggering the event. Accepted values are the session profile id or, to send as system event, specify null or 'System'.