• Categories
  • Recent
  • Tags
  • Popular
  • Solved
  • Unsolved
  • Users
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Darkly)
  • No Skin
Collapse
brainCloud Forums

Support for Bulk Rich/Template Push to Arbitrary ProfileId List

Scheduled Pinned Locked Moved Unsolved APIs
2 Posts 2 Posters 44 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jongdae.won
    wrote last edited by
    #1

    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!

    1 Reply Last reply
    0
  • Paul WinterhalderP Offline
    Paul WinterhalderP Offline
    Paul Winterhalder brainCloudAdmin
    wrote last edited by
    #2

    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.

    1 Reply Last reply
    0

  • Login

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Solved
  • Unsolved
  • Users