APIs & Integrations

Not applicable

Getting Campaign Names of the Campaigns

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.


Getting Campaign Names of the Campaigns

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.