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 communication channel (email
, sms
, or call
), the notification name (the name you define in the UI), and the notification message.
Payload
The following payload is sent when a notification is created:Properties
Property | Type | Description |
---|---|---|
event | string | The webhook event type (notification ). |
data.leadId | string | The unique identifier for the lead. |
data.phone | string | The phone number of the lead. |
data.channel | string | The communication channel. Can be email , sms , or call . |
data.notificationName | string | The name of the notification as defined in the UI. |
data.notificationMessage | string | The message content of the notification. |
timestamp | string | The ISO 8601 timestamp when the notification was created. |