# Adding app\_privilege\_token using Meeting SDK for Web

**URL:** <https://devforum.zoom.us/t/adding-app-privilege-token-using-meeting-sdk-for-web/97060>\
**Category:** Zoom Apps\
**Created:** [October 19, 2023, 11:30am UTC](https://devforum.zoom.us/t/adding-app-privilege-token-using-meeting-sdk-for-web/97060 "2023-10-19T11:30:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tadas7](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tadas7/32/53146_2.png) [@tadas7](https://devforum.zoom.us/u/tadas7)\
**Post date:** [October 19, 2023, 11:30am UTC](https://devforum.zoom.us/t/adding-app-privilege-token-using-meeting-sdk-for-web/97060/1 "2023-10-19T11:30:24Z")

</div>

Hey there,

we have built a bot using Meeting Web SDK , which joins as a guest and listens to the meeting. When joining we need to somehow send Local Recording Consent request to Meeting host, but the only way is by adding app\_privilege\_token when joining. Are there any other ways to do that? We need to show that consent so the host will know that the meeting will be recorded (even local recording is not needed).

Thanks!

---

<div class="post-metadata">

**Author:** ![amanda-recallai](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/amanda-recallai/32/44747_2.png) [@amanda-recallai](https://devforum.zoom.us/u/amanda-recallai)\
**Post date:** [October 20, 2023, 6:04am UTC](https://devforum.zoom.us/t/adding-app-privilege-token-using-meeting-sdk-for-web/97060/2 "2023-10-20T06:04:05Z")

</div>

Hey @tadas7 I’m happy to help! We use the Meeting Web SDK extensively for our bots and this is definitely something we’ve encountered before.

You can manually request recording permission from the host without using the app\_privilege\_token. You can do this by calling the `ZoomMtg.mediaCapturePermission` function. When you call this function, the host will get a popup asking them if they want to allow or deny recording by the bot.

When the host approves or denies the request, the `ZoomMtg.inMeetingServiceListener("onMediaCapturePermissionChange",...)` callback will be triggered.

If the request is approved, you’ll can then call the `ZoomMtg.mediaCapture` function to trigger the actual popup and recording notification dialog.

Make sure you’re on SDK version 2.17.0, since we’ve experienced bugs or inconsistent behavior with earlier SDK versions!

Another option is [Recall.ai](https://www.recall.ai/). It’s a simple 3rd party API that lets you use meeting bots to get the raw audio/video from meetings + output video/audio without you needing to spend months to build, scale and maintain these bots.

Let me know if you have any questions!

---

<div class="post-metadata">

**Author:** ![tadas7](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tadas7/32/53146_2.png) [@tadas7](https://devforum.zoom.us/u/tadas7)\
**Post date:** [October 20, 2023, 6:11am UTC](https://devforum.zoom.us/t/adding-app-privilege-token-using-meeting-sdk-for-web/97060/3 "2023-10-20T06:11:02Z")

</div>

@amanda-recallai All right thank you!
