The transactional email property is under contacts. It is either ‘yes/no’. But, under ‘see history’, the transactional email shows the original date the email was sent.
Is there a way to pull the original send date from the transactional email property?
Hi, @ejohnson0832.
While the transactional_email_sentproperty value is always either true or false, you can pull the date and time the property value changed from the timestampproperty.
For example, if you query https://api.hubapi.com/contacts/v1/contact/vid/78340513/profile?property=transactional_email_sent for this contact, the API will return:
transactional_email_sent: {
value: "true",
versions: [
{
value: "true",
source-type: "INTEGRATION",
source-id: "146173",
source-label: null,
timestamp: 1548772047655,
selected:false
}
]
}
You can then use the 1548772047655 value for your purposes.