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_SENT",
"time_sent": "", ---> Deprecate and instead use `event_timestamp`
"event_timestamp": "", ---> new field use instead of `time_sent`
"from_email": "",
"to_email": "",
"to_name": "",
"subject": "",
"campaign_id": "",
"campaign_name": "",
"campaign_status": "", ---> new field
"sequence_number": "",
"custom_subject": "", --> Deprecated instead use `subject`
"custom_email_message":"", --> Deprecated instead use `sent_message.html`
"sent_message_body": "", ---> Deprecate and instead use `sent_message.html`
"sent_message": {
"message_id":"", ---> new field for replacing `message_id`
"html":"", ---> new field use instead of `sent_message_body`
"text":"" ---> new field
"time":"" ---> new field
}
"message_id": "", ---> Deprecate and instead use `sent_message.message_id`
"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_sent": "2023-09-25T17:27:27.234+00:00",
"event_timestamp": "2023-09-25T17:27:27.234+00:00",
"campaign_name": "OR Tracker",
"campaign_id": 111,
"sequence_number": 1,
"custom_subject": "OR",
"custom_email_message": "<div>Opening</div>",
"sent_message_body": "<div>Opening</div>",
"sent_message": {
"message_id": "<[email protected]>",
"html": "<div>Opening</div>",
"text": "Opening",
"time": "2023-09-25T17:27:27.234+00:00"
},
"subject": "OR",
"message_id": "<[email protected]>",
"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 1 sent to [email protected] for campaign - OR Tracker",
"metadata": {
"webhook_created_at": "2023-09-26T10:19:49.535Z"
},
"webhook_url": "<https://webhook.site/5168fasf-0sss-465a-8114-1111da474a77>",
"webhook_id": 111,
"webhook_name": "Testing new webhooks",
"event_type": "EMAIL_SENT"
}
event_timestamp