Skip to main content
Version: 5.7.0

SendRawPushToCustomQuery

Sends a push to users based on custom collection query and the profileIdField storing the user's brainCloud profile Id.

ServiceOperation
pushNotificationSEND_RAW_PUSH_TO_CUSTOM_QUERY

Method Parameters

ParameterDescription
customEntityTypeEntity type identifying the applicable custom collection.
customQueryJsonJSON query to be applied to the custom collection.
profileIdFieldName of field in custom collection that contains the user's brainCloud profile Id. For owned custom collections, this would be ownerId, but for unowned custom collections this would be something like data.bcProfileId.
contentJsonJSON containing applicable fcmContent, iosContent and/or facebookContent. At least one is required.

Usage

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"status": 200,
"data": {}
}