We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
Feb 9, 2018 6:48 AM
I am getting the Campaign ID’s from the API https://developers.hubspot.com/docs/methods/email/get_campaigns_by_id.
I would also like to get the campaign name along with the ID’s. Is it possible? If yes, what are the optional parameters to be used with the API.
Feb 9, 2018 8:40 AM
I think you will then need to call the endpoint for getting campaign data for each and every one of them. You can find it at https://developers.hubspot.com/docs/methods/email/get_campaign_data
I use the API quite a lot and for this purpose I have a cache on my end into which I write whatever data I get from HS that I need to use multiple times. When it’s something that doesn’t change too often, it speeds up the process quite a lot.