Happy Business Starts Here

How to associate email history with account?

Savvy Scholar

How to associate email history with account?

I can retrieve the email history through the REST API /v1/notification-history/email but I can't find a robust way to associate each email with an account.  The toEmail field is not quite enough, as it is possible to have the same email associated with multiple contacts / accounts.  For each email in the history, I only get the following fields:

 

{
   "result": "OK",
   "errorMessage": null,
   "eventCategory": "2120",
   "notification": "Payment Processed | Payment Processed",
   "subject": "Your payment was successfully processed.",
   "toEmail": "joe.blow@example.com",
   "fromEmail": "no-reply@example.com",
   "cc": "",
   "bcc": "",
   "replyTo": "no-reply@example.com",
   "sendTime": "2019-09-23T23:39:17"
}
 
Is there a reliable way to link this to an account?  Clearly the data exists since it is displayed that way in the web interface.
2 REPLIES 2
Highlighted
Newly Enrolled

Re: How to associate email history with account?

24 Hour Fitness is also very interested in this modification. We have a similar need to associate the email notifications to a unique member, which is not necessarily possible by email address alone. In addition to adding the account id to the response of this API we would also like to have the html code that we can access thru the Zuora UI in the 'Subject' field added to the response as well.

Highlighted
Savvy Scholar

Re: How to associate email history with account?

Hi, 

Pendula may be able to help with this request, we are a communications platform native to Zuora. 

Tim