Skip to main content
Version: 5.7.0

SendEvent

This service allows you to send events to specified players.

Results

NameDescription
responseIncludes evId of sent event
ServiceOperation
eventSEND

Method Parameters

ParameterDescription
toIdProfile Id of user to send event to.
eventTypeUser-defined event type (optional.)
eventDataUser defined event data encoded in JSON.

Usage

http://localhost:3000
// S2S call: to view example, switch to the Cloud Code or Raw tab.
JSON Response
{
"packetId": 1,
"messageResponses": [
{
"status": 200,
"data": {
"response": {
"evId": "9789273589757"
}
}
}
]
}