SOLVED

Exporting Data Value Changes through REST API

Go to solution
cagarwal
Level 3

Exporting Data Value Changes through REST API

Hi Community, 

 

Through Marketo REST API, I am looking for a method (easy or not) to export data field value changes for a specific Marketo field and a group of leads. Are there any tips or code examples I can refer to?

 

Essentially, an ideal export file would include the following: 

 

Email Address | Date Changed | Previous Value | New Value

CA
Tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Exporting Data Value Changes through REST API


not that I am aware of. 


Actually there very much is such an endpoint: the Get Lead Changes endpoint.

 

It returns the Marketo Lead ID, not the Email Address. But this is to be expected since Email Address is not a unique record identifier in Marketo.

View solution in original post

3 REPLIES 3
Jo_Pitts1
Level 10 - Community Advisor

Re: Exporting Data Value Changes through REST API

@cagarwal ,

not that I am aware of.  You'd need to do a regular (e.g. Daily) lead extract, and compare fields across lead records over time.

 

BTW - you might not want to use email address.  What if you have (heaven forbid) duplicates.

 

Cheers

Jo

 

 

SanfordWhiteman
Level 10 - Community Moderator

Re: Exporting Data Value Changes through REST API


not that I am aware of. 


Actually there very much is such an endpoint: the Get Lead Changes endpoint.

 

It returns the Marketo Lead ID, not the Email Address. But this is to be expected since Email Address is not a unique record identifier in Marketo.

Jo_Pitts1
Level 10 - Community Advisor

Re: Exporting Data Value Changes through REST API

Doh.  Apparently my morning coffee hadn't sunk in at that point 🙂