APIs & Integrations

IntegrationDev
Contributor

Goals API - Acceptable Associations?

SOLVE

Hello,

 

With the new Goals API, what other object types can be associated to a goal_target?

 

Thank you,

Ben

0 Upvotes
1 Accepted solution
jaal
Solution
Participant

Goals API - Acceptable Associations?

SOLVE

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

 

View solution in original post

0 Upvotes
5 Replies 5
IntegrationDev
Contributor

Goals API - Acceptable Associations?

SOLVE

Hi @jaal,

 

I don't believe I did. Sorry. 😞

 

Sincerely,

Ben

0 Upvotes
jaal
Solution
Participant

Goals API - Acceptable Associations?

SOLVE

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

 

0 Upvotes
Jaycee_Lewis
Community Manager
Community Manager

Goals API - Acceptable Associations?

SOLVE

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, 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





loop


Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.

Learn More




0 Upvotes
IntegrationDev
Contributor

Goals API - Acceptable Associations?

SOLVE

Hi @Jaycee_Lewis,

 

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

jaal
Participant

Goals API - Acceptable Associations?

SOLVE

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

0 Upvotes