APIs & Integrations

bcody
Participant

Set "assigned to" for task via API?

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!

0 Upvotes
2 Replies 2
Dadams
HubSpot Employee
HubSpot Employee

Set "assigned to" for task via API?

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.

0 Upvotes
bcody
Participant

Set "assigned to" for task via API?

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

0 Upvotes