# How to programatically create alarm notification URL for acknowledging

**URL:** <https://forum.inductiveautomation.com/t/how-to-programatically-create-alarm-notification-url-for-acknowledging/72562>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [April 18, 2023, 9:19am UTC](https://forum.inductiveautomation.com/t/how-to-programatically-create-alarm-notification-url-for-acknowledging/72562 "2023-04-18T09:19:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![r.p](https://avatars.discourse-cdn.com/v4/letter/r/71e660/32.png) [@r.p](https://forum.inductiveautomation.com/u/r.p)\
**Post date:** [April 18, 2023, 9:19am UTC](https://forum.inductiveautomation.com/t/how-to-programatically-create-alarm-notification-url-for-acknowledging/72562/1 "2023-04-18T09:19:48Z")

</div>

We need to programatically create alarm notification URLs like:

[example.com/web/ack/6JO4vpqcjMmoW4nQzm0s28abO1LuHcK7MnT-FwlOVpwv](https://example.com/web/ack/6JO4vpqcjMmoW4nQzm0s28abO1LuHcK7MnT-FwlOVpwv)

without using the notification block in the alarm pipeline but using scripting because we need to send programatically several emails to several recipients with a complex workflow involving waiting, resending, stepping to the next recipient etc. etc.  
The string in the URL doesn't look like a base64 of something or a hash, is it possible to generate it?  
Thank you

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 18, 2023, 11:27am UTC](https://forum.inductiveautomation.com/t/how-to-programatically-create-alarm-notification-url-for-acknowledging/72562/2 "2023-04-18T11:27:12Z")

</div>

Looks like base64. Probably encodes both the alarm UUID and the person to whom it is sent. Try playing around with that.

---

<div class="post-metadata">

**Author:** ![r.p](https://avatars.discourse-cdn.com/v4/letter/r/71e660/32.png) [@r.p](https://forum.inductiveautomation.com/u/r.p)\
**Post date:** [April 18, 2023, 12:35pm UTC](https://forum.inductiveautomation.com/t/how-to-programatically-create-alarm-notification-url-for-acknowledging/72562/3 "2023-04-18T12:35:11Z")

</div>

> [@r.p](#):
>
> FwlOVpwv

It is not base64, I tried both the part before and after the minus symbol but gibberish is returned in both cases.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 18, 2023, 1:13pm UTC](https://forum.inductiveautomation.com/t/how-to-programatically-create-alarm-notification-url-for-acknowledging/72562/4 "2023-04-18T13:13:45Z")

</div>

> [@r.p](#):
>
> but gibberish is returned

I would expect you to get binary. You'll have to interpret it.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 18, 2023, 1:28pm UTC](https://forum.inductiveautomation.com/t/how-to-programatically-create-alarm-notification-url-for-acknowledging/72562/5 "2023-04-18T13:28:26Z")

</div>

The IDs are randomly generated.

You would probably need to create your own module with its own email notification and callback management system.
