Notification Created

This event occurs when a new notification is created by Apten. The webhook payload contains information about the notification that was created, including the lead’s phone number, the notification name (the name you define in the UI), and the notification message.

Payload

The following payload is sent when a lead is tagged:

{
  "event": "notification",
  "data": {
    "leadId": string,
    "phone": string,
    "notificationName": string,
    "notificationMessage": string
  },
  "timestamp": string (ISO 8601)
}