Supported Events: 


We currently support Webhook on a number of events, which are:


Event Description
Delivered Message has been delivered successfully
Dropped Message got dropped
Bounced Message has hard bounce
Opened Message got opened
Clicked Recipient clicked a link in the message; will only occur when click tracking is enabled
Unsubscribed Recipient Unsubscribed
Invalid Syntactically incorrect email ids
Spam Recipient marked the message as spam

 

Why can’t my Webhook or call-back URL be verified?


When you add the URL, Pepipost does a test HTTP POST.


If the data POST is successfully accepted by your server then Pepipost verifies and saves the webhook URL

 

Event Data :


Below is the sample data for each event which will show you the actual fields which were returned in the HTTP POST:

 

Glossary:


Parameters Used Supported by Events Description
TRANSID All All assigns a Unique Transaction ID for each and every email which were sent
EMAIL All Recipient’s Email ID
EVENT All Type of Event: delivered/ dropped/ invalid/ bounced/ opened/ clicked/ unsubscribed/ spam
RESPONSE delivered/ dropped/invalid/ bounce Response received from the end server like Delivery Logs, Bounce reason, reason for drop(blacklisted user / already unsubscribed)
X-APIHEADER All Information passed by you in the X-APIHEADER, during the time of email sent
TIMESTAMP All Unix Timestamp of the occurrence of the event
USERAGENT opened/ clicked/ unsubscribed/spam User agent contains the detailed information about the browser from where a specific event in initiated.
IPADDRESS opened/ clicked/unsubscribed/spam IP address of the device from where the recipient has responded.

 

  • Sent : Email has been successfully delivered to the receiving server:


Sample POST Output:

 

[

{

“TRANSID”:”14652378013752608″,

“RCPTID”:”0″,

“RESPONSE”:”smtp;250 2.0.0 OK 1465276276 mo3si31128106wjb.147 – gsmtp”,

“EMAIL”:”test@gmail.com”,

“TIMESTAMP”:”1465276276″,

“CLIENTID”:”10001″,

“FROMADDRESS”:”info@mydomain.com”,

“EVENT”:”sent”,

“MSIZE”:”1216″,

“USERAGENT”:”1216″

}

]

 

  • Dropped : Users who have already unsubscribed in past or blacklisted because of hard bounce/Spam complaints will be treated as dropped. And, no further email communication is allowed on these types of ids.


Sample POST Output:


[

{

“TRANSID”:”14652378021238672″,

“RCPTID”:”0″,

“RESPONSE”:”Recipient Dropped :: status not confirmed”,

“EMAIL”:”sample@gmail.com”,

“TIMESTAMP”:”1465300547″,

“CLIENTID”:”10001″,

“FROMADDRESS”:”info@mydomain.com”,

“EVENT”:”dropped”,

“MSIZE”:”575″

}

]

  • Invalid : All API requests with syntactically incorrect email ids will be treated as Invalid and no further processing will be done on such ids. You can capture all such invalid events in real time and try correcting them offline.


Sample POST Output:


[

{

“TRANSID”:”14652378021198302″,

“RCPTID”:””,

“RESPONSE”:”Invalid Email Address”,

“EMAIL”:”sampleuser@gmail..com”,

“TIMESTAMP”:”1465300638″,

“CLIENTID”:”10001″,

“FROMADDRESS”:”info@mydomain.com”,

“EVENT”:”invalid”,

“MSIZE”:”16900″

}

]

  • Bounced : Receiving server could not or would not accept message because of multiple reasons like receiving server is not reachable, email id doesn’t exists etc. All such reasons are a part of Hard Bounce which will lead to the blacklisting of that email id in Pepipost system. There are other set of bounces which are treated as Soft Bounce, e.g. Mailbox full. These are temporary bounces.

 

  • Hard Bounce : These are the emails which are tried to be delivered but could not get delivered to the end user because of a permanent reasons like mailbox does not exists..etc


Sample POST Output:


[

{

“TRANSID”:”14652378014624064″,

“RCPTID”:”0″,

“RESPONSE”:”smtp;550 5.1.1 The email account that you tried to reach does not exist. Please try double-checking the recipient’s email address for typos or unnecessary spaces. Learn more at https://support.google.com/mail/answer/6596 z130si23626456iod.1″,

“BOUNCE_TYPE”:”HARDBOUNCE”,

“EMAIL”:”jdshfjhsdfjsdfsdfsdfhds@gmail.com”,

“TIMESTAMP”:”1465277622″,

“BOUNCE_REASONID”:”77″,

“CLIENTID”:”10001″,

“BOUNCE_REASON”:”email account that you tried to reach does not exist”,

“FROMADDRESS”:”info@mydomain.com”,

“EVENT”:”bounced”,

“MSIZE”:”10″,

“USERAGENT”:”10″

}

]


Soft Bounce : These are the emails which are tried to be delivered but could not get delivered to the end user because of a temporary reasons like mailbox quota full..etc

 


[

{

“TRANSID”:”14652378014624064″,

“RCPTID”:”0″,

“RESPONSE”:”smtp;550 5.1.1 Mail box full”,

“BOUNCE_TYPE”:”SOFTBOUNCE”,

“EMAIL”:”test01@gmail.com”,

“TIMESTAMP”:”1465277622″,

“BOUNCE_REASONID”:”1099″,

“CLIENTID”:”10001″,

“BOUNCE_REASON”:”mail box full for the account you reached”,

“FROMADDRESS”:”info@mydomain.com”,

“EVENT”:”bounced”,

“MSIZE”:”10″,

“USERAGENT”:”10″

}

]

  • Opened : Recipient has opened the email.


Sample POST Output:


[

{

“TRANSID”:”14652378013752608″,

“RCPTID”:”0″,

“RESPONSE”:””,

“EMAIL”:”test@gmail.com”,

“TIMESTAMP”:”1465276362″,

“CLIENTID”:”10001″,

“FROMADDRESS”:”info@mydomain.com”,

“EVENT”:”opened”,

“MSIZE”:”1216″,

“USERAGENT”:”Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko Firefox/11.0 (via ggpht.com GoogleImageProxy)”,

“IPADDRESS”:”64.233.173.70″

}

]

 

  • Clicked : Recipient has clicked on a link within the message.


Sample POST Output:


[

{

“TRANSID”:”14652378018802172″,

“RCPTID”:”sampleuser@gmail.com”,

“RESPONSE”:””,

“EMAIL”:”geniusdibya08@gmail.com”,

“TIMESTAMP”:”1465299696″,

“CLIENTID”:”10001″,

“FROMADDRESS”:”info@mydomain.com”,

“EVENT”:”clicked”,

“MSIZE”:”19379″,

“USERAGENT”:”Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36″,

“URL”:”https://www.pepipost.com”,

“IPADDRESS”:”11.11.11.16″

}

]

 

  • Unsubscribed : Recipient clicked on the unsubscribe management link.


Sample POST Output:


[

{

“TRANSID”:”14652378014983009″,

“RCPTID”:”4″,

“RESPONSE”:””,

“EMAIL”:”sampleuser@gmail.com”,

“TIMESTAMP”:”1465278512″,

“CLIENTID”:”10001″,

“FROMADDRESS”:”info@mydomain.com”,

“EVENT”:”unsubscribed”,

“MSIZE”:”1718″,

“USERAGENT”:”Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36″,

“IPADDRESS”:”19.16.11.11″

}

]

 

  • Spam :Recipient who marked the email as Spam


Sample POST Output:


[

{

“TRANSID”:”14652378014983009″,

“RCPTID”:”4″,

“RESPONSE”:””,

“EMAIL”:”sampleuser@gmail.com”,

“TIMESTAMP”:”1465278512″,

“CLIENTID”:”10001″,

“FROMADDRESS”:”info@mydomain.com”,

“EVENT”:”spam”,

“MSIZE”:”1718″,

“USERAGENT”:”Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36″,

“IPADDRESS”:”19.16.11.11″

}

]

 

Can I view failed Webhook batches?


No