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”)
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 slugstudent, 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
Example update event payload:
before field will be an empty object:
after field will be an empty object: