<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=1198476139004771&amp;ev=PageView&amp;noscript=1">

Create Campaign Goals via Goals API

What is it?

Customers can now create Campaign goals through the CRM Goals API.

 

Why does it matter?

Customers can create campaigns and goals independently through API. However, it was never possible to directly tie a goal to campaigns through API resulting in extra steps needed inside the HubSpot app to complete the end-to-end workflow.

Now, any user can build a campaign and create a goal for that campaign in one workflow through the HubSpot APIs.

 

How does it work?

When creating a goal, include your Campaign GUID in the request body under campaignAssociation to tie the goal to the selected campaign.

See the Goals docs here for additional details.

 

Who gets it?

Marketing Hub Professional, Marketing Hub Enterprise

Topics: Marketing Hub Professional, Marketing Hub Enterprise

Related articles


Sunsetting Ad Sequences & Ad Goals
8 Sep 2026

Payments Account Public READ API
8 Sep 2026

Ready to maximize your business growth with our HubSpot-accredited services?

Contact us today to learn how we can help you succeed.