# Engagement Owner

**URL:** <https://community.hubspot.com/t/engagement-owner/11720>\
**Category:** APIs & Integrations\
**Created:** [January 9, 2017, 6:28pm UTC](https://community.hubspot.com/t/engagement-owner/11720 "2017-01-09T18:28:04Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [January 9, 2017, 6:28pm UTC](https://community.hubspot.com/t/engagement-owner/11720/1 "2017-01-09T18:28:04Z")

</div>

Hello. I have a question about the owner of an call engagements.

Whenever I create a call engagement using Hubspot API, I pass the Id of the user making the call as the ownerId of that call. Later, when I hit the API again to get details about that call, the ownerId is set correctly. However, in the web UI, it says that my user was the one that made the call. How can I make it show the right owner of the call?

---

<div class="post-metadata">

**Author:** ![robertainslie](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/robertainslie/32/1875_2.png) [@robertainslie](https://community.hubspot.com/u/robertainslie)\
**Post date:** [May 3, 2017, 9:31pm UTC](https://community.hubspot.com/t/engagement-owner/11720/2 "2017-05-03T21:31:07Z")

</div>

Hi [@Tinadim](https://community.hubspot.com/u/tinadim),

When creating an engagement, there are 2 potential users that could be seen with that engagement: the owner to whom the task is assigned and who the task was created by.

Assuming that your engagement is being properly created, it should be assigned to the owner that you denote. It will show the user who the app is authenticated to (assuming usage of oAuth). If you’re using a HAPI key for authentication, then it will just create the app, since a specific user cannot be tied to the single-portal wide key.

If your engagement is NOT being properly assigned to an owner, make sure your JSON body resembles this:

```auto
{
 "engagement": {
 "active": true,
 "ownerId": 9498521,
 "type": "TASK",
 "timestamp": 1493596800000
 },
 "associations": {
 "contactIds": [64787],
 "companyIds": [],
 "dealIds": [],
 "ownerIds": []
 },
 "metadata": {
 "body": "Task 2",
 "subject": "Task 2",
 "status": "NOT_STARTED",
 "forObjectType": "CONTACT"
 }
}

```

It’s important to note here that all IDs are integers, not strings, so don’t wrap them in quotes.

If you’re seeing anything different, please reply with your example calls (endpoint, authorization method, headers, request body, response code and response message).

Cheers,

Rob

---

<div class="post-metadata">

**Author:** ![robertainslie](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/robertainslie/32/1875_2.png) [@robertainslie](https://community.hubspot.com/u/robertainslie)\
**Post date:** [May 3, 2017, 9:34pm UTC](https://community.hubspot.com/t/engagement-owner/11720/3 "2017-05-03T21:34:17Z")

</div>

A task that is created using oAuth will currently show the user who’s authenticated, but is assigned to the owner. In this case, my user is authorized, but my owner is ‘Barack Obama’:

[

 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/9/7/97e41080dc6cef58e858593666fc2873c93c1177.png)

image.png858x373 25.5 KB

]([https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/3/34094d1196f84bb70e97dbd3cfbd4d498158af2e.png](https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/3/34094d1196f84bb70e97dbd3cfbd4d498158af2e.png))

If you are creating with a HAPI key, the task will look like this:

[

 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/f/7/f7735e765bf944669099e9960895ee37119e35cd.png)

image.png843x369 23.5 KB

]([https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/0/0fee474bcdaef5eded5e74eba67e30f68cbe4f08.png](https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/0/0fee474bcdaef5eded5e74eba67e30f68cbe4f08.png))

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [May 4, 2017, 5:24pm UTC](https://community.hubspot.com/t/engagement-owner/11720/4 "2017-05-04T17:24:19Z")

</div>

[@Robert\_Ainslie](https://community.hubspot.com/u/robert_ainslie) I think it’s easier if I show the issue with screenshots:

In my hubspot test account I have two admin users with the following IDs:

 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/c/4/c401a859079bdca4addd2b528e275e2e4ee7b1eb.png)

Using the first user (Bernardo Reis with Id 17265014, I then used the REST API to create an engagement with the following payload:

[

 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/e/7/e77a73f35ec26bc7cb5fdcb8812dd4244601d653.png)

Screen Shot 2017-05-04 at 11.51.58 AM.png1082x584 37.7 KB

]([https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/b/bbc347138955592b33b8762df437802f07bb0b6c.png](https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/b/bbc347138955592b33b8762df437802f07bb0b6c.png))

Which results in the following call in Hubspot:

[

 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/7/5/75ad9c0b56da5e54de765db4e7c079357682bcb9.png)

case 1 - myself.png845x294 20.2 KB

]([https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/f/f68c759a11215c18de7dc2901549d152b345c819.png](https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/f/f68c759a11215c18de7dc2901549d152b345c819.png))

This scenario is right. I was the one who made the call, so it indeed say “You made a call to Rhaylander”.  
I then went ahead and created a second call using Rhaylander’s user (ID: 18724812), with the following payload:

[

 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/1/c/1ce6896ab2600b848b4d947da9b3fa2cbbe80c86.png)

Screen Shot 2017-05-04 at 12.12.30 PM.png1080x586 37.7 KB

]([https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/4/4ce7ede9adcb6deaf0d50f6b6bc6bc2ecfd8ede7.png](https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/4/4ce7ede9adcb6deaf0d50f6b6bc6bc2ecfd8ede7.png))

And this is the call that was created in Hubspot:

[

 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/8/3/835eca7f1b861c72fc673432c163f3e1073a218b.png)

case 2 - myself.png846x290 22 KB

]([https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/d/d02a7f99c360bcfe1d5b6190a8056e25c31ed46d.png](https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/d/d02a7f99c360bcfe1d5b6190a8056e25c31ed46d.png))

Once again it says **I** created the call. And that is not true, I used Rhaylander’s user to create it, as you can see in the payload above. Can you please advice where am I going wrong here?

---

<div class="post-metadata">

**Author:** ![robertainslie](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/robertainslie/32/1875_2.png) [@robertainslie](https://community.hubspot.com/u/robertainslie)\
**Post date:** [May 5, 2017, 5:30pm UTC](https://community.hubspot.com/t/engagement-owner/11720/5 "2017-05-05T17:30:09Z")

</div>

Hi [@Tinadim](https://community.hubspot.com/u/tinadim),

I was able to reproduce what you’re seeing here. What you’re seeing is that the authorization of the user who created the engagement is being shown, not the user to whom it is assigned. I agree that this is strange, so I’m going to have the HubSpot product team take a look to see if there’s a fix we can make for that.

I can update you when I know more.

-Rob

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [May 5, 2017, 7:02pm UTC](https://community.hubspot.com/t/engagement-owner/11720/6 "2017-05-05T19:02:00Z")

</div>

Hi [@Robert\_Ainslie](https://community.hubspot.com/u/robert_ainslie),

Thanks for your assistance. Do you have a rough estimative on when I can expect for an update on this thread?

---

<div class="post-metadata">

**Author:** ![robertainslie](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/robertainslie/32/1875_2.png) [@robertainslie](https://community.hubspot.com/u/robertainslie)\
**Post date:** [May 16, 2017, 9:16pm UTC](https://community.hubspot.com/t/engagement-owner/11720/7 "2017-05-16T21:16:48Z")

</div>

Hi [@Tinadim](https://community.hubspot.com/u/tinadim),

I don’t have a timeline from HubSpot product for looking at this. However, it is only a UI issue and any reports/task/call queues that are being built based on the assignments should still be correct. The assignment is happening, it’s just that it’s showing your user as opposed to the assignee.

-Rob

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [May 18, 2017, 7:58pm UTC](https://community.hubspot.com/t/engagement-owner/11720/8 "2017-05-18T19:58:43Z")

</div>

Hi [@Robert\_Ainslie](https://community.hubspot.com/u/robert_ainslie),

Thank you for the update and I’m working with [@Tinadim](https://community.hubspot.com/u/tinadim). We were wondering with this just a UI/display issue and that everything is logging accurately on the backend. Is there a way to show this in the reporting functions of Hubspot?

Thanks for the help!

- Kane

---

<div class="post-metadata">

**Author:** ![robertainslie](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/robertainslie/32/1875_2.png) [@robertainslie](https://community.hubspot.com/u/robertainslie)\
**Post date:** [May 18, 2017, 8:42pm UTC](https://community.hubspot.com/t/engagement-owner/11720/9 "2017-05-18T20:42:01Z")

</div>

Hi [@laramak](https://community.hubspot.com/u/laramak),

When building reports and looking on dashboards, you should be seeing the activities/tasks/engagements rolled up to the HubSpot Owner (which it looks like is being set properly based on your screenshots). The Contacts Timeline UI is showing who created the engagement, but not necessarily who it’s assigned to.

When building a report like this, the end result will show the Owner, not the ‘created by’:

[![]()

image.png1827x828 55.5 KB

]([https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/5/501b177fb51ffd99f8b137f0bc1ebbfb10a85002.png](https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/5/501b177fb51ffd99f8b137f0bc1ebbfb10a85002.png))

This ends up looking like:

[![]()

image.png880x414 14 KB

]([https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/f/f95e69e7bccb93dedcbea717aed9c64a763cda6e.png](https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/f/f95e69e7bccb93dedcbea717aed9c64a763cda6e.png))

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [May 18, 2017, 9:56pm UTC](https://community.hubspot.com/t/engagement-owner/11720/10 "2017-05-18T21:56:14Z")

</div>

Thanks and this is a big help!

Regards,

Kane Laramore  
Sr Customer Success Manager, Tenfold  
p: (512) 770-9118  
e: [klaramore@tenfold.com](mailto:klaramore@tenfold.com)  
[image: Logo] [http://www.tenfold.com](http://www.tenfold.com)
