# Add workflow data strings to marketing emails API endpoints

**URL:** <https://community.hubspot.com/t/add-workflow-data-strings-to-marketing-emails-api-endpoints/129759>\
**Category:** HubSpot Ideas\
**Tags:** api\
**Created:** [April 11, 2025, 11:52am UTC](https://community.hubspot.com/t/add-workflow-data-strings-to-marketing-emails-api-endpoints/129759 "2025-04-11T11:52:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![R\_R](https://avatars.discourse-cdn.com/v4/letter/r/59ef9b/32.png) [@R\_R](https://community.hubspot.com/u/R_R)\
**Post date:** [April 11, 2025, 11:52am UTC](https://community.hubspot.com/t/add-workflow-data-strings-to-marketing-emails-api-endpoints/129759/1 "2025-04-11T11:52:35Z")

</div>

We are exploring better reporting opportunities; the end goal being the ability to look at the metrics of all emails in a single view.  
As part of this, we would also like to filter for the emails based on the workflow they are part of. There does not seem to be a “ **workflow id** ” to help identify emails belonging to the same workflow.  
There is a “ **workflowNames** ” string in the marketing emails API endpoint but even here it’s not available for the

_Get all marketing emails for a HubSpot account endpoint_, where it would be most useful.

Is there a possibility to simply add the workflows string to the endpoint?  
Alternatively, what other opportunities are there for better overall reporting for all marketing emailing, including workflows?
