# What should we pass as payload while creating a deeplink in web based install flow?

**URL:** <https://devforum.zoom.us/t/what-should-we-pass-as-payload-while-creating-a-deeplink-in-web-based-install-flow/73504>\
**Category:** Zoom Apps\
**Tags:** oauth\
**Created:** [August 3, 2022, 12:56pm UTC](https://devforum.zoom.us/t/what-should-we-pass-as-payload-while-creating-a-deeplink-in-web-based-install-flow/73504 "2022-08-03T12:56:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jayesh](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jayesh/32/39296_2.png) [@jayesh](https://devforum.zoom.us/u/jayesh)\
**Post date:** [August 3, 2022, 12:56pm UTC](https://devforum.zoom.us/t/what-should-we-pass-as-payload-while-creating-a-deeplink-in-web-based-install-flow/73504/1 "2022-08-03T12:56:13Z")

</div>

We found out that in zoom apps during 0auth flow for web-based apps it uses v2/zoomapp/deeplink to create a deeplink and subsequently redirects to the link. We need more details about what should we pass in payload for this API request. We read the documentation about the same here [deeplink](https://marketplace.zoom.us/docs/zoom-apps/architecture/#deep-link-generation)\* However, we need more information about what value should we pass for  
`action: JSON.stringify({ url: '/your/url', role_name: 'Owner', verified: 1, role_id: 0, }),`

---

<div class="post-metadata">

**Author:** ![RostislavR](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rostislavr/32/39790_2.png) [@RostislavR](https://devforum.zoom.us/u/RostislavR)\
**Post date:** [August 3, 2022, 8:21pm UTC](https://devforum.zoom.us/t/what-should-we-pass-as-payload-while-creating-a-deeplink-in-web-based-install-flow/73504/2 "2022-08-03T20:21:43Z")

</div>

I think the `action` field is optional. It’s what allows you to pass some state info so that your app has some context.

My app relies on events from inside the meeting, so I didn’t need to use that at all.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [September 7, 2022, 8:38pm UTC](https://devforum.zoom.us/t/what-should-we-pass-as-payload-while-creating-a-deeplink-in-web-based-install-flow/73504/3 "2022-09-07T20:38:24Z")

</div>

Closed on September 7, 2022, 8:38pm UTC


