Event Definition Overview
Event definitions define the name and a data schema for an event. When an event definition is created, the API defines the event definition key. The API then uses the event definition key to route events to the appropriate journeys. For example, an event definition has the key "Acme-MovieRented". Two or more journeys should be invoked when a contact rents a movie. Use the same event definition key to invoke both journeys when a contact rents a movie.
The Journey Specification requires an event (trigger
) object to have an event definition key set in order for the journey to be published.