Set "assigned to" for task via API?

engagements

#1

I’m trying to import tasks from my old CRM, and was trying to figure out how to set the “Assigned to” field for the corresponding Engagement (type: TASK).

I didn’t see any mention of it in the API documentation so wanted to reach out to the community.

Thanks!


#2

…and I figured out that the ownerId property needs to be the Hubspot OWNER id and not the USER id.


#3

Hi @bcody

The assigned to field does use the ownerId of the engagement as you discovered. I’ll get the documentation updated to include that.