FAQs - Events

Can I send Events from Cloud Code?

Yes. You can use SparkRequests to send Events using Cloud Code. Please see our Using SparkRequests API tutorial for more details and guidance on how to do this.

Is it possible to restrict player access to an Event until that Event is initiated by the completion of another Event?

Yes. Yes, this would be possible by using Segments to restrict player access based on value. So when that Event gets invoked, it gets the player's segment values. If that player's segment values subscribes that player to a certain membership, then they're allowed to run the Event, otherwise the Event remains hidden / locked.

Did this page help you? Please enter your feedback below.