Description

This feature allows user to setup his campaign to send messages when a certain event occurs. The event is always an instance in database that has it’s own unique identifier (slug) and should be defined on a channel level.

Create event

In order to create event, user must visit dashboard.

Sending a message

In order to send a message, an API should be called with the following parameters:

  • event - the slug of the event that should trigger the message
  • subscriber_uuid - the unique identifier of the subscriber that should receive the message. in case when null is passed, the message will be sent to all subscribers belonging to the event’s channel
  • messages - an optional parameter to specify a list of messages to be sent
  • Channel-Token - a unique public channel identifier to be included within headers