# Download\_url replaced by file\_path in recording.completed webhook

**URL:** <https://devforum.zoom.us/t/download-url-replaced-by-file-path-in-recording-completed-webhook/6282>\
**Category:** API and Webhooks\
**Created:** [October 16, 2019, 9:12pm UTC](https://devforum.zoom.us/t/download-url-replaced-by-file-path-in-recording-completed-webhook/6282 "2019-10-16T21:12:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![zoom-test](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/zoom-test/32/2531_2.png) [@zoom-test](https://devforum.zoom.us/u/zoom-test)\
**Post date:** [October 16, 2019, 9:12pm UTC](https://devforum.zoom.us/t/download-url-replaced-by-file-path-in-recording-completed-webhook/6282/1 "2019-10-16T21:12:41Z")

</div>

I have an OAuth app with recording.completed webhooks registered. For some customers I am seeing some recording.completed webhooks come in with a `file_path` property instead of a `download_url` for the recording file. This is not in the webhook spec: [https://marketplace.zoom.us/docs/api-reference/webhook-reference/recording-events/recording-completed](https://marketplace.zoom.us/docs/api-reference/webhook-reference/recording-events/recording-completed)

It is inconsistent as well as some recordings come in with the expected format (`download_url`) and some don’t. Can you please help clear up what is going on here?

Thanks!

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [October 16, 2019, 9:38pm UTC](https://devforum.zoom.us/t/download-url-replaced-by-file-path-in-recording-completed-webhook/6282/2 "2019-10-16T21:38:42Z")

</div>

Hey @zoom-test,

I am guessing the `file_path` is returning because your (or your users) Cloud Recording settings are set to local and not cloud. The `file_path` is where the local recording file lives on that users machine, and inaccessible to your application. Make sure that Cloud Recording is turned on. The best way to do this would be turning it on, and locking it from the [account level settings](https://zoom.us/account/setting?tab=recording):

 ![00%20PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/d/d75fd5670f603d55419608b6533b6140134556c3.png)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![zoom-test](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/zoom-test/32/2531_2.png) [@zoom-test](https://devforum.zoom.us/u/zoom-test)\
**Post date:** [October 16, 2019, 9:54pm UTC](https://devforum.zoom.us/t/download-url-replaced-by-file-path-in-recording-completed-webhook/6282/3 "2019-10-16T21:54:03Z")

</div>

Um, according you to, webhooks are for cloud recordings only.

> [@Webhook Recording for Cloud only?](https://devforum.zoom.us/t/webhook-recording-for-cloud-only/5739/2):
>
> Hey @klhdevone, good question! Yes, our [recording webhooks](https://marketplace.zoom.us/docs/api-reference/webhook-reference/recording-events/recording-started) are only for [Cloud Recordings](https://support.zoom.us/hc/en-us/articles/203741855-Cloud-Recording). As a word around, you could build your own webhook that watches for your local download destination. Thanks, Tommy

If that is still true then what is going on here?

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [October 16, 2019, 10:08pm UTC](https://devforum.zoom.us/t/download-url-replaced-by-file-path-in-recording-completed-webhook/6282/4 "2019-10-16T22:08:49Z")

</div>

Hey @zoom-test,

Apologies,

If your customer is a “Corp” user, then their meetings are hosted on [Meeting Connector](https://support.zoom.us/hc/en-us/articles/201363093-Getting-Started-With-Meeting-Connector). If the meeting is hosted on Meeting Connector, then the recordings are stored on the [Recording Connector](https://support.zoom.us/hc/en-us/articles/204757929-Getting-Started-With-Recording-Connector) server (assuming one is configured). At such times, you may receive a notification like:

```json
{
    "id": "...",
    "meeting_id": “...",
    "recording_start": "2019-08-15T09:04:29Z",
    "recording_end": "2019-08-15T10:46:55Z",
    "file_type": "MP4",
    "file_size": 1746960821,
    "file_path": "/opt/zoom/cmr-storage/replay/actn-zm-....zoom.aarnet.net.au/2A6.../GMT2019081....mp4",
    "status": "completed",
    "recording_type": "shared_screen_with_gallery_view"
}

```

If your is a “Pro” user, then his meetings are hosted on the Zoom Cloud. If the meeting is hosted on Zoom Cloud, then the recordings are stored in the Zoom Cloud. Here your notification could be like:

```json
{
    "id": "...",
    "meeting_id": "...",
    "recording_start": "2019-07-26T05:01:42Z",
    "recording_end": "2019-07-26T05:02:10Z",
    "file_type": "MP4",
    "file_size": 216792,
    "play_url": "https://zoom.us/recording/play/d8xoGxe45...",
    "download_url": "https://zoom.us/recording/download/d8xov745...",
    "status": "completed",
    "recording_type": "shared_screen_with_speaker_view"
}

```

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![zoom-test](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/zoom-test/32/2531_2.png) [@zoom-test](https://devforum.zoom.us/u/zoom-test)\
**Post date:** [November 12, 2019, 11:36pm UTC](https://devforum.zoom.us/t/download-url-replaced-by-file-path-in-recording-completed-webhook/6282/5 "2019-11-12T23:36:06Z")

</div>

Hey @tommy a late follow up to this. For the /v2/metrics/meetings api. Will these corp recordings return a `"user_type": "Corp"` as part of the meetings array? That way I can check here if the recording is coming from a corp style account. Or do I still need to pull the recording data down to see if it is a corp style recording? The api here ([https://marketplace.zoom.us/docs/api-reference/zoom-api/dashboards/dashboardmeetings](https://marketplace.zoom.us/docs/api-reference/zoom-api/dashboards/dashboardmeetings)) lists the `user_type` as a string property but doesn’t give valid values for it. Do they match up to what is listed here ([https://marketplace.zoom.us/docs/api-reference/zoom-api/users/user](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/user)) under `type`?

Thanks!

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [November 13, 2019, 9:54pm UTC](https://devforum.zoom.us/t/download-url-replaced-by-file-path-in-recording-completed-webhook/6282/6 "2019-11-13T21:54:32Z")

</div>

Hey @zoom-test,

Yes `"user_type": "Corp"` will be returned for Corp recordings. Although I think the convention also appends the user Features. After testing, mine says:

`"user_type": "Pro|Webinar500"`

 ![32%20PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/9/91854a5fc1244f3a662f4f06f2bbaaa3d5032a21.png)

That being said: `user_type = User Type + "|" + Features`

I would suggest doing a check if the string “Corp” is included in the `"user_type"` value.

We will work on adding the reference for all the different user\_types.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 7:00pm UTC](https://devforum.zoom.us/t/download-url-replaced-by-file-path-in-recording-completed-webhook/6282/7 "2020-08-21T19:00:16Z")

</div>

Closed on August 21, 2020, 7:00pm UTC


