Response Structure

{
"webhook_id": "", ---> new_feild
"webhook_name": "", ---> new_feild
"sl_email_lead_id": "", ---> new_feild
"sl_email_lead_map_id": "", ---> new_feild
"webhook_url":"",
"stats_id": "", 
"event_type": "EMAIL_OPEN",
"time_opened": "", ---> Deprecate and instead use `event_timestamp`
"event_timestamp": "", ---> new field use instead of `time_replied`
"from_email": "", 
"to_email": "", 
"to_name": "", 
"subject": "", 
"campaign_id": "",  
"campaign_name": "", 
"campaign_status": "", ---> new field
"sequence_number": "",
"sent_message_body": "", ---> Deprecate and instead use `sent_message.html`
"sent_message": {
	"message_id":"", ---> new field
	"html":"", ---> new field use instead of `sent_message_body`
	"text":"" ---> new field
	"time":"" ---> new field  
},
"client_id":"" ---> new field
"app_url": "", ---> new field use instead of `ui_master_inbox_link`
"ui_master_inbox_link":"",  ---> Deprecate and instead use `app_url`
"secret_key": "",
"description": "", ---> new field
"metadata": {
	"webhook_created_at":  "", ---> new field
} ---> new field
}

Example Response

{
  "campaign_status": "COMPLETED",
  "client_id": 111,
  "stats_id": "id",
  "from_email": "[email protected]",
  "to_email": "[email protected]",
  "to_name": "David Carroll",
  "time_opened": "2023-09-25T17:29:11.618881+00:00",
  "event_timestamp": "2023-09-25T17:29:11.618881+00:00",
  "campaign_name": "OR Tracker",
  "campaign_id": 111,
  "sequence_number": 1,
  "subject": "OR",
  "sent_message_body": "<div>Opening</div>",
  "sent_message": {
    "message_id": "<[email protected]>",
    "html": "<div>Opening</div>",
    "text": "Opening"
  },
  "secret_key": "secret key",
  "app_url": "<https://app.smartlead.ai/app/master-inbox>",
  "ui_master_inbox_link": "<https://app.smartlead.ai/app/master-inbox>",
  "description": "[email protected] opened Email 1 for campaign - OR Tracker",
  "metadata": {
    "webhook_created_at": "2023-09-26T10:19:49.535Z"
  },
  "webhook_url": "<https://webhook.site/5168faa-0f49-4111-8114-1123da474b77>",
  "webhook_id": 111,
  "webhook_name": "Testing new webhooks",
  "event_type": "EMAIL_OPEN"
}