# UserId null during recording.completed webhook call

**URL:** <https://devforum.zoom.us/t/userid-null-during-recording-completed-webhook-call/51844>\
**Category:** API and Webhooks\
**Created:** [June 5, 2021, 6:34pm UTC](https://devforum.zoom.us/t/userid-null-during-recording-completed-webhook-call/51844 "2021-06-05T18:34:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![reikje](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/reikje/32/27960_2.png) [@reikje](https://devforum.zoom.us/u/reikje)\
**Post date:** [June 5, 2021, 6:34pm UTC](https://devforum.zoom.us/t/userid-null-during-recording-completed-webhook-call/51844/1 "2021-06-05T18:34:46Z")

</div>

Hi, I am working on an application where I would like to receive a webhook request on the recording.completed event - in other words, when a cloud recording is available. Everything is working fine but in the payload, that is sent to the webhook, the “userId” field inside “object” is null. Shouldn’t this be set to the user id of the user who created the recording?

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [June 7, 2021, 7:03pm UTC](https://devforum.zoom.us/t/userid-null-during-recording-completed-webhook-call/51844/2 "2021-06-07T19:03:36Z")

</div>

Hi @reikje,

Thanks for reaching out about this.

To clarify, the Recording Completed webhook should return a `host_id` field:

> **[Recording Completed - Recording Events - Webhook Reference - API Reference](https://marketplace.zoom.us/docs/api-reference/webhook-reference/recording-events/recording-completed)**
>
> Recording Completed
> 
> 
> 
> All users with a Pro or a higher plan have access to Cloud Recordings. An account owner or account admin can enable Cloud Record...

Are you seeing this field? I don’t believe it will return a userId field, but rather `host_id`.

Let me know—thanks!  
Will

---

<div class="post-metadata">

**Author:** ![reikje](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/reikje/32/27960_2.png) [@reikje](https://devforum.zoom.us/u/reikje)\
**Post date:** [June 7, 2021, 7:55pm UTC](https://devforum.zoom.us/t/userid-null-during-recording-completed-webhook-call/51844/3 "2021-06-07T19:55:15Z")

</div>

Hi @will.zoom, you are correct. I am getting the `host_id` field sent fine. Out of curiosity, the `host_id` field is the: “ID of the user set as host of the meeting”. Does that indicate, that only the host of a meeting can do a cloud recording? What will happen, if I am in a meeting as a participant and the host allows recordings - maybe these are just local recordings?

Best Reik

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [June 8, 2021, 2:53pm UTC](https://devforum.zoom.us/t/userid-null-during-recording-completed-webhook-call/51844/4 "2021-06-08T14:53:55Z")

</div>

Hi @reikje,

Good question, and that’s correct—the host of the meeting will determine which settings are available to the meeting and whether or not the meeting can or is being recorded. Note that Cloud Recording requires a Pro or higher license of the meeting host.

In regards to:

> What will happen, if I am in a meeting as a participant and the host allows recordings - maybe these are just local recordings?

If you are in a meeting as a participant and the host has cloud recording enabled, the cloud recording will be sent to the host upon completion of the meeting. The participants, however, will not have control over the recording settings. The host can share cloud recordings, depending on their settings.

Let me know if this helps to clarify!  
Will

---

<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, 2021, 12:54am UTC](https://devforum.zoom.us/t/userid-null-during-recording-completed-webhook-call/51844/5 "2021-07-09T00:54:45Z")

</div>

Closed on July 9, 2021, 12:54am UTC

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