Event Types

Event types are a way to categorize the events you send to Hook0.

An event type is basically a string composed of three dot-separated parts:

  • a service name
  • a resource type
  • a verb

📘

Examples of event types

  • iam.user.created
  • storagre.file.removed
  • api.application.created

Event types set an implicit contract on event payloads: events with the same event type are expected to have the same payload structure, and event types make it easy for webhooks receivers to analyze these payloads.

Event types are also crucial for another reason: users that create a subscription can choose which event types they want to hear about! If a user subscribes to a given set of event types, Hook0 will only forward events that match these types for this particular subscription.