# Incoming web triggers: Static URL or programmatically generation

**URL:** <https://community.developer.atlassian.com/t/incoming-web-triggers-static-url-or-programmatically-generation/51341>\
**Category:** Forge\
**Tags:** forge-cli, forge-web-trigger\
**Created:** [August 26, 2021, 11:56am UTC](https://community.developer.atlassian.com/t/incoming-web-triggers-static-url-or-programmatically-generation/51341 "2021-08-26T11:56:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DomingoLupo](https://avatars.discourse-cdn.com/v4/letter/d/c57346/32.png) [@DomingoLupo](https://community.developer.atlassian.com/u/DomingoLupo)\
**Post date:** [August 26, 2021, 11:56am UTC](https://community.developer.atlassian.com/t/incoming-web-triggers-static-url-or-programmatically-generation/51341/1 "2021-08-26T11:56:52Z")

</div>

According to documentation, the web trigger URL needs to be generated using the Forge CLI, and this is fine if you are developing an internal/private app. But, if your app is supposed to go in the Marketplace, and needs to show the user a URL where to point an external service to, well the CLI is not an option. So my question is, is there a way to generate this URL in runtime or to have a static one?

Thanks!

---

<div class="post-metadata">

**Author:** ![danielwester](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/danielwester/32/36730_2.png) [@danielwester](https://community.developer.atlassian.com/u/danielwester)\
**Post date:** [August 26, 2021, 12:00pm UTC](https://community.developer.atlassian.com/t/incoming-web-triggers-static-url-or-programmatically-generation/51341/2 "2021-08-26T12:00:05Z")

</div>

You’ll want to make use of the web trigger api:  
[https://developer.atlassian.com/platform/forge/runtime-reference/web-trigger-api/](https://developer.atlassian.com/platform/forge/runtime-reference/web-trigger-api/)

---

<div class="post-metadata">

**Author:** ![CarrieMamantov](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/carriemamantov/32/42904_2.png) [@CarrieMamantov](https://community.developer.atlassian.com/u/CarrieMamantov)\
**Post date:** [August 26, 2021, 2:50pm UTC](https://community.developer.atlassian.com/t/incoming-web-triggers-static-url-or-programmatically-generation/51341/3 "2021-08-26T14:50:53Z")

</div>

This seems like a good question for others to see, adding to #codegeist-2021 - Thanks Domingo!

---

<div class="post-metadata">

**Author:** ![DomingoLupo](https://avatars.discourse-cdn.com/v4/letter/d/c57346/32.png) [@DomingoLupo](https://community.developer.atlassian.com/u/DomingoLupo)\
**Post date:** [August 28, 2021, 8:59pm UTC](https://community.developer.atlassian.com/t/incoming-web-triggers-static-url-or-programmatically-generation/51341/4 "2021-08-28T20:59:01Z")

</div>

Thank you, guys!

---

<div class="post-metadata">

**Author:** ![NatashaCherniavsky](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@NatashaCherniavsky](https://community.developer.atlassian.com/u/NatashaCherniavsky)\
**Post date:** [October 9, 2022, 5:46am UTC](https://community.developer.atlassian.com/t/incoming-web-triggers-static-url-or-programmatically-generation/51341/5 "2022-10-09T05:46:08Z")

</div>

Hi @danielwester @DomingoLupo,  
This is exactly the scenario I’m facing. Could you please elaborate on the solution you used? I’m not sure at which point I can should use the webtrigger API.

The way I see the flow is: Admin installs app \> site specific webtrigger url is available for the third party to save \> webtrigger url is used as part of the app’s functionality.

I’m not really sure where and how the webtrigger url is available. Your help is much appreciated!

Thanks!
