# Owner Object on Call Logs Not Correct if Owner is a Common Area

**URL:** <https://devforum.zoom.us/t/owner-object-on-call-logs-not-correct-if-owner-is-a-common-area/90098>\
**Category:** API and Webhooks\
**Tags:** api\
**Created:** [June 13, 2023, 4:26pm UTC](https://devforum.zoom.us/t/owner-object-on-call-logs-not-correct-if-owner-is-a-common-area/90098 "2023-06-13T16:26:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kyle.aebischer](https://avatars.discourse-cdn.com/v4/letter/k/f08c70/32.png) [@kyle.aebischer](https://devforum.zoom.us/u/kyle.aebischer)\
**Post date:** [June 13, 2023, 4:26pm UTC](https://devforum.zoom.us/t/owner-object-on-call-logs-not-correct-if-owner-is-a-common-area/90098/1 "2023-06-13T16:26:30Z")

</div>

**API Endpoint:** `GET /phone/call_logs`  
Link to endpoint documentation: [Zoom Phone API](https://developers.zoom.us/docs/api/rest/reference/phone/methods/#operation/accountCallLogs)

**Description**

- I’m doing some research and development on Zoom Common Areas, Common Area Phones, and Zoom Phone Call Logs. For Call Logs, One of the properties is the **owner** object. Within this object, there is the **id** and **type** properties. I noticed that when a call log is owned by a user, these two fields are appropriately populated with the user’s ID and user’s type. However, when the owner of a call log is a Common Area, these two properties are omitted. Further, the **user\_id** field on the call log response is not the Common Area’s ID (in fact, I’m not sure what ID it is referring to).

Is this a known issue with the call log response when the owner is a Common Area? Is your team able to update this so that we can more easily associate a call log to a Common Area?

**How To Reproduce**  
Make a phone call to a Zoom Phone Common Area. Once the call ends, retrieve the call logs via `GET /phone/call_logs`. Observe the `owner` object of the call log `id` and `type` properties of this object are not populated since the owner is the called common area.

---

<div class="post-metadata">

**Author:** ![ojus.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ojus.zoom/32/734_2.png) [@ojus.zoom](https://devforum.zoom.us/u/ojus.zoom)\
**Post date:** [July 6, 2023, 6:09pm UTC](https://devforum.zoom.us/t/owner-object-on-call-logs-not-correct-if-owner-is-a-common-area/90098/2 "2023-07-06T18:09:18Z")

</div>

@kyle.aebischer Thanks for reaching out. We can confirm that as of right now, this is an expected behavior as common area does not have an owner id.

---

<div class="post-metadata">

**Author:** ![kyle.aebischer](https://avatars.discourse-cdn.com/v4/letter/k/f08c70/32.png) [@kyle.aebischer](https://devforum.zoom.us/u/kyle.aebischer)\
**Post date:** [July 6, 2023, 7:26pm UTC](https://devforum.zoom.us/t/owner-object-on-call-logs-not-correct-if-owner-is-a-common-area/90098/3 "2023-07-06T19:26:53Z")

</div>

Hmm, according to the `owner.type` possible values, `commonAreaPhone` is a supported type. I would expect this value to be used when a call log is owned by a common area phone. Is that something that will be changed? Additionally, will the `owner.id` be updated to be the common area or common area phone’s id?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [July 9, 2024, 11:03am UTC](https://devforum.zoom.us/t/owner-object-on-call-logs-not-correct-if-owner-is-a-common-area/90098/4 "2024-07-09T11:03:07Z")

</div>

Closed on July 9, 2024, 11:03am UTC

This topic was automatically closed 368 days after the last reply. New replies are no longer allowed.
