Support for Bulk Rich/Template Push to Arbitrary ProfileId List
-
Hello brainCloud team,
We need to send localized Notification Template pushes to an ad-hoc list of profileIds, often thousands of users, provided by operations as a file.
This is not a pre-defined Segment or Group. We want to target only the profileIds in that file, while still using brainCloud Notification Templates for localization.
Is there currently a bulk API that sends a Rich/Template Push Notification to an arbitrary list of profileIds?
From the docs, we found single-user template push and group template push, plus raw/normalized batch push APIs, but we could not find a template/rich push batch API for arbitrary profileId lists.
If this is not currently supported:
- Is it planned?
- What is the recommended workaround?
- How is billing counted if we call SendRichPushNotificationWithParams once per profileId from Cloud Code?
- Would any planned bulk API support substitutions and custom metadata/custom data?
Thanks!
-
Hi,
Apologies for the slow response.
We don't have any calls that could directly handle a "file" of profileIds. We do have a few "toBatch" calls that are callable from S2S though - so you could probably have an offboard system make those calls - and call braincloud to send the notifications in batches.
Where are these profileIds coming from? An offboard analytics system of some sort?
To answer your questions:
- We are planning a revamp of our notifications system and it's APIs. I'll add this conversation so that it will be considered as we're planning that.
- As mentioned above, using one of the "Batch" calls would make the most sense - and keep your API counts reasonable
- There's an API call to call the SendRichPushNotificationWithParams, plus a second api call for the sending the push notification itself. So that would be <numReceivers> x 2 for API costs. Less if called from within a script. But the *Batch() calls would be
- Substitutions and custom metadata/custom data - the current APIs don't - so you'd probably need to handle those client side. Are the substitutions highly personal - like player's name?
I hope that helps to clarify things,
Paul.
-
J jongdae.won has marked this topic as solved
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login