Skip to main content
Version: 6.0.0

SysSendMessage

Sends a message on behalf of the system (i.e. app) to the specified users.

ServiceOperation
messagingSYS_SEND_MESSAGE

Method Parameters​

ParameterDescription
toProfileIdsThe array of recipients.
contentJsonThe json content object to send in the message.
fromJsonWho the message is from. Should contain at least "name" field, and potential "pic" field as well.

Usage​

http://localhost:3000
// S2S call: to view example, switch to the Cloud Code or Raw tab.