# Goals API - Acceptable Associations?

**URL:** <https://community.hubspot.com/t/goals-api-acceptable-associations/78928>\
**Category:** APIs & Integrations\
**Tags:** developer-tools\
**Created:** [April 7, 2023, 5:56pm UTC](https://community.hubspot.com/t/goals-api-acceptable-associations/78928 "2023-04-07T17:56:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![IntegrationDev](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/integrationdev/32/1529_2.png) [@IntegrationDev](https://community.hubspot.com/u/IntegrationDev)\
**Post date:** [April 7, 2023, 5:56pm UTC](https://community.hubspot.com/t/goals-api-acceptable-associations/78928/1 "2023-04-07T17:56:40Z")

</div>

Hello,

With the new [Goals API](https://developers.hubspot.com/docs/api/crm/goals), what other object types can be associated to a goal\_target?

Thank you,

Ben

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [April 7, 2023, 11:46pm UTC](https://community.hubspot.com/t/goals-api-acceptable-associations/78928/2 "2023-04-07T23:46:18Z")

</div>

Hey, @IntegrationDev 👋 At this time, the Goals API endpoints are limited to the GET requests listed in the link you provided.

Looking at the [knowledge base article for Goals](https://knowledge.hubspot.com/reports/create-goals?_ga=2.122627019.1984335503.1680908967-422029716.1680908967#create-sales-goals-for-your-team), can you clarify how your requests correspond to what we can do in-app with Goals? This might help give more context to your goal.  
My instinct is this isn’t possible, and having your context and use case could be valuable feedback for the product team.  
Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![IntegrationDev](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/integrationdev/32/1529_2.png) [@IntegrationDev](https://community.hubspot.com/u/IntegrationDev)\
**Post date:** [April 10, 2023, 2:13pm UTC](https://community.hubspot.com/t/goals-api-acceptable-associations/78928/3 "2023-04-10T14:13:34Z")

</div>

Hi [@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074),

Thanks for your help with this!

The Goals API includes endpoints that allow GETting both a single goal and a list of goals. Both support an optional _associations_ paramemter. What associations are valid to use with this parameter?

For example: The docs link you provided shows goals as being linkable to users and teams. What _associations_ parameter values would I use to retrieve the association to a user or to a team?

Thank you,  
Ben

---

<div class="post-metadata">

**Author:** ![jaal](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@jaal](https://community.hubspot.com/u/jaal)\
**Post date:** [July 12, 2024, 4:03pm UTC](https://community.hubspot.com/t/goals-api-acceptable-associations/78928/4 "2024-07-12T16:03:54Z")

</div>

Hi Ben,

I’m facing a similar problem, that’s why I’m wondering if you found a way to extract users or teams linked to a goal via API. So far I don’t know which params to include in my API call for that.

Thanks and best regards,

Jan

---

<div class="post-metadata">

**Author:** ![IntegrationDev](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/integrationdev/32/1529_2.png) [@IntegrationDev](https://community.hubspot.com/u/IntegrationDev)\
**Post date:** [July 16, 2024, 5:37pm UTC](https://community.hubspot.com/t/goals-api-acceptable-associations/78928/5 "2024-07-16T17:37:01Z")

</div>

Hi @jaal,

I don’t believe I did. Sorry. 😞

Sincerely,

Ben

---

<div class="post-metadata">

**Author:** ![jaal](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@jaal](https://community.hubspot.com/u/jaal)\
**Post date:** [July 18, 2024, 6:38am UTC](https://community.hubspot.com/t/goals-api-acceptable-associations/78928/6 "2024-07-18T06:38:05Z")

</div>

Hi @IntegrationDev ,

I was able to solve the problem by adding “hs\_assignee\_user\_id” and “hs\_assignee\_team\_id” to my params.

Best,

Jan
