This endpoint provides a way to query data associated with a given email campaign.
To find the
campaign_id that corresponds to a specific email:
- In your HubSpot account, navigate to Marketing > Email.
- Locate the sent email you want to retrieve campaign data for, then click the email name.
- Under the Sent date, click See details.
- In the right panel, the
campaign_idwill be listed under Internal HubSpot ID.
campaign_id will also be provided within the
allEmailCampaignIds field in the response of the Marketing Email Statistics API.