Use event types to send notifications to your users based on activities and actions in your app. Think of these as triggers for your notifications.
An Event Type is some action or event in your application that will trigger a notification to be sent. For example, in a social media application this might be "Someone added you as a friend." or "Someone liked your photo."
- Go to the Event Types tab and click the New Event Type button
- Give the event type a name and description. The description will be helpful for your customers to understand when they are viewing the settings page within the notification center. The API Endpoint will automatically be generated after you save. At the bottom you can click “+Add Template” to assign the template you created before to this Event Type. This will make it so that whenever this Event Type occurs, the template is used to send a notification to your customer. Click save when you’re done.
- After saving, you’ll see the API Endpoint generated. You’ll want to save this and use it when sending your first notification. See the Getting started guide for a full end to end example