Response Structure
{
"webhook_id": "", ---> new_feild
"webhook_name": "", ---> new_feild
"webhook_url":"",
"stats_id": "",
"event_type": "EMAIL_BOUNCE",
"created_at": "", ---> new field
"time_sent": "", ---> Deprecate and instead use `event_timestamp`
"event_timestamp": "", ---> new field use instead of `time_sent`
"from_email": "",
"to_email": "",
"to_name": "",
"custom_subject": "", --> Deprecated instead use subject
"custom_email_message":"", --> Deprecated instead use `sent_message.html`
"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 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`
"is_bounced": true, ---> Deprecte the field becuase only true the event is triggered
"bounce_reply_message_id": <Bounced message ID>, ---> Deprecte the field and use `bounce_message.message_id`
"bounce_reply_email": <Bounced full email>, ---> Deprecte the field and use `bounce_message.html`
"bounce_reply_email_preview": <Bounced preview email>, ---> Deprecte the field and use `bounce_message.text`
"bounce_message": {
"message_id":"", ---> new field use instead of `bounce_reply_message_id`
"html":"", ---> new field use instead of `bounce_reply_email`
"text":"" ---> new field use instead of `bounce_reply_email_preview`
"time":"" ---> new field
}
"secret_key": "",
"description": "", ---> new field
"metadata": {
"webhook_created_at": "", ---> new field
} ---> new field
}
Sample Response
{
"campaign_status": "COMPLETED",
"client_id": null,
"stats_id": "id",
"from_email": "[email protected]",
"to_email": "[email protected]",
"to_name": "Support Test",
"time_sent": "2023-04-04T08:31:13.638+00:00",
"event_timestamp": "2023-04-04T08:31:13.638+00:00",
"campaign_name": "Link insertion",
"campaign_id": 111,
"sequence_number": 1,
"custom_subject": "Proposal for Collaboration - smartlead.ai",
"custom_email_message": "<div>Hey there</div>",
"sent_message_body": "<div>Hey there</div>",
"sent_message": {
"message_id": "<[email protected]>",
"html": "<div>Hey there</div>",
"text": "Hey there",
"time": "2023-04-04T08:31:13.638+00:00"
},
"subject": "Proposal for Collaboration - smartlead.ai",
"message_id": "<[email protected]>",
"is_bounced": true,
"bounce_reply_message_id": "<[email protected]>",
"bounce_reply_email": "<p>##- Please type your reply above this line -##</p></p>",
"bounce_reply_email_preview": "##- Please type your reply above this line -##",
"bounce_message": {
"message_id": "<[email protected]>",
"html": "<p>##- Please type your reply above this line -##</p></p>",
"text": "##- Please type your reply above this line -##",
"time": "2023-04-04T08:31:22.000Z"
},
"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] got bounced for campaign - Link insertion",
"metadata": {
"webhook_created_at": "2023-09-26T10:48:56.598Z"
},
"webhook_url": "<https://webhook.site/5168faaa-0f49-465a-8111-1522da474abc>",
"webhook_id": 111,
"webhook_name": "Test",
"event_type": "EMAIL_BOUNCE"
}
event_timestamp
subject