Export Emails via API

Highlighted

Export Emails via API

Is there any way to bulk export email details (e.g. sender name, subject line, etc.)?

We're conducting an email audit, and we need to report on some key metrics for each email (e.g. sender name, subject line, performance, etc.).

The REST API seems like the best tool for the job, and I've followed the steps on reporting on emails based on folder to collect some of that data.

http://developers.marketo.com/rest-api/assets/emails/#browse

However, I'm stuck on the fact that:

  • I can't seem to page through the results (they return a maximum of 200), and
  • Filtering via Folder only returns the immediate child results, not any child emails that are 1+ steps removed (emails that are nested within a program or other folder aren't included).

Are there any other tricks I'm missing?

Carolyn

2 REPLIES 2
Highlighted
Level 10 - Champion Alumni

Re: Export Emails via API

Sanford Whiteman

part of this may be the 500mb Bulk API limit? Are you using the bulk exporter or just REST API?

Highlighted
Marketo Employee

Re: Export Emails via API

>I can't seem to page through the results (they return a maximum of 200)

Paging is done through the 'offset' parameter

>Filtering via Folder only returns the immediate child results, not any child emails that are 1+ steps removed (emails that are nested within a program or other folder aren't included).

Correct, the folder filter only looks at the immediate parent of an email asset.  Most use cases require retrieving the entirety of the set of emails though, and cross-referencing them.  If you need to search through a folder tree, then Get Folder Contents is better suited to your need​s: http://developers.marketo.com/rest-api/endpoint-reference/asset-endpoint-reference/#!/Folders/getFol...