Skip to main content

Webhook Events

Superleap can send webhooks for the following events:

Event Naming Convention

Events in Superleap follow a consistent naming pattern:
  • object_slug: The identifier of the object (e.g., “lead”, “user”, “opportunity”)
  • verb: The action that occurred (e.g., “create”, “update”, “delete”)
For example, when a lead is created, the event name is lead.create.

Standard Object Events

These events correspond to the built-in objects in Superleap.

Custom Object Events

For any custom object defined in your Superleap account, events follow the same pattern. If you have a custom object with slug student, you’ll receive events like:

Webhook Payloads

Webhook payloads are sent as JSON in the request body and contain only three main keys:
  • before: The state of the record before the change (empty object {} for create events)
  • after: The state of the record after the change (empty object {} for delete events)
  • diff: Contains only the new values of fields that were changed
All event metadata is included in the HTTP headers: Example update event payload:
For create events, the before field will be an empty object:
For delete events, the after field will be an empty object: