Response Structure
{
"webhook_id": "", ---> new_feild
"webhook_name": "", ---> new_feild
"sl_email_lead_id": "", ---> new_feild // lead id
"sl_email_lead_map_id": "", ---> new_feild // gives access to all the chats connected to the lead
"sl_lead_email": "", ---> new_feild //original email address
"webhook_url":"",
"stats_id": "",
"stats_thread_id": "",
"event_type": "EMAIL_REPLY",
"time_replied": "", ---> Deprecate and instead use `event_timestamp`
"event_timestamp": "", ---> new field use instead of `time_replied`
"from_email": "", // is the sender mailbox
"to_email": "",
"to_name": "", // is the lead that replies OR alias
"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
}
"message_id": "", ---> Deprecate and instead use `reply_message.message_id`
"reply_body": "", ---> Deprecate and instead use `reply_message.html`
"reply_message": {
"message_id":"", ---> new field use instead of `message_id`
"html":"", ---> new field use instead of `reply_body`
"text":"" ---> new field use instead of `preview_text`
"time":"" ---> new field
},
"preview_text":"", ---> Deprecate and instead use `reply_message.text`
"client_id":"",
"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
{
"webhook_id": 100,
"webhook_name": "Test",
"campaign_status": "COMPLETED",
"stats_id": "id",
"stats_thread_id": "thread_id",
"from_email": "[email protected]",
"subject": "Proposal for Collaboration - smartlead.ai",
"sent_message_body": "<div>Test</div>",
"sent_message": {
"message_id": "<[email protected]>",
"html": "<div>Test</div>",
"text": "Test",
"time": "2023-04-04T08:31:13.638+00:00"
},
"to_email": "[email protected]",
"to_name": "Support Test",
"time_replied": "2023-04-04T08:31:22+00:00",
"event_timestamp": "2023-04-04T08:31:22+00:00",
"reply_message": {
"message_id": "<[email protected]>",
"html": "<p>##- Please type your reply above this line -##</p>",
"text": "##- Please type your reply above this line -##",
"time": "2023-04-04T08:31:22+00:00"
},
"reply_body": "<p>##- Please type your reply above this line -##</p>",
"message_id": "<[email protected]>",
"preview_text": "##- Please type your reply above this line -##",
"campaign_name": "Link insertion",
"campaign_id": 100,
"client_id": null,
"sequence_number": 1,
"secret_key": "secretkey",
"app_url": "<https://app.smartlead.ai/app>",
"ui_master_inbox_link": "<https://app.smartlead.ai/app>",
"description": "[email protected] replied to Email 1 for campaign - Link insertion ",
"metadata": {
"webhook_created_at": "2023-09-26T10:48:56.598Z"
},
"webhook_url": "<https://webhook.site/5168fa7f-0asd-465a-8114-111da474a77>",
"event_type": "EMAIL_REPLY"
}
event_timestamp