<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Using Webhooks]]></title><description><![CDATA[<p dir="auto">Hi all! Really loving Uptime Kuma and wanted to know if anyone has tips on how to setup webhooks in there. I am running a separate <a href="https://github.com/caronc/apprise-api" target="_blank" rel="noopener noreferrer nofollow ugc">Apprise API docker container</a> on another machine (secured via Nginx and ACLs) and am thinking the only way I could pass notifications off is by using the webhook notification option in Uptime Kuma. There isn't much documentation on how to format the webhook and I was curious if anyone can offer some help.</p>
<p dir="auto">For reference, I'm able to fire off notifications using the curl command like this:</p>
<pre><code>curl -X POST -d '{"urls": "gchat://xxx/yyy/zzz", "body":"test message"}' -H "Content-Type: application/json" https://user:password@domain.tld/notify
</code></pre>
<p dir="auto">OR</p>
<pre><code>curl -X POST -d 'urls=gchat://xxx/yyy/zzz&amp;body=test message' https://user:password@domain.tld/notify
</code></pre>
]]></description><link>https://forum.cloudron.io/topic/5400/using-webhooks</link><generator>RSS for Node</generator><lastBuildDate>Mon, 16 Nov 2026 07:49:22 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/5400.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 23 Jul 2021 22:54:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Using Webhooks on Sat, 24 Jul 2021 16:13:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/luckow" aria-label="Profile: luckow">@<bdi>luckow</bdi></a> for reference, this is the Expression I have in my 'text' field:<br />
<code>{{JSON.stringify($json["body"])}}</code><br />
I output the entire JSON body stringified because I use this webhook for multiple incoming notifications and they contain different payloads. But you can try and extrapolate from here by bringing in just the fields you need, i.e <code>msg</code>, <code>monitor</code>, etc.</p>
]]></description><link>https://forum.cloudron.io/post/34335</link><guid isPermaLink="true">https://forum.cloudron.io/post/34335</guid><dc:creator><![CDATA[thetomester13]]></dc:creator><pubDate>Sat, 24 Jul 2021 16:13:17 GMT</pubDate></item><item><title><![CDATA[Reply to Using Webhooks on Sat, 24 Jul 2021 16:10:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thetomester13" aria-label="Profile: thetomester13">@<bdi>thetomester13</bdi></a> cool. That's what "worked" for me.<br />
<img src="/assets/uploads/files/1627142529077-69dc9be4-a47a-4500-afb9-ae3c36eae257-image.png" alt="69dc9be4-a47a-4500-afb9-ae3c36eae257-image.png" class="img-markdown  img-fluid" /> <img src="/assets/uploads/files/1627142572827-1fc995ee-3bab-4efa-b072-0a939e8fd29a-image.png" alt="1fc995ee-3bab-4efa-b072-0a939e8fd29a-image.png" class="img-markdown  img-fluid" /> <img src="/assets/uploads/files/1627142866777-1535f86b-8911-4706-b3c2-7511ac85d2de-image.png" alt="1535f86b-8911-4706-b3c2-7511ac85d2de-image.png" class="img-markdown  img-fluid" /><br />
"Problem": the workflow sends <code>PAYLOAD ???</code> into the rocket.chat channel. I need to read the n8n docs to solve this. But every time I click the test button in uptime, I get the message in rocket.chat. MVP done <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=b6971addb6c" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://forum.cloudron.io/post/34334</link><guid isPermaLink="true">https://forum.cloudron.io/post/34334</guid><dc:creator><![CDATA[luckow]]></dc:creator><pubDate>Sat, 24 Jul 2021 16:10:49 GMT</pubDate></item><item><title><![CDATA[Reply to Using Webhooks on Sat, 24 Jul 2021 16:00:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/luckow" aria-label="Profile: luckow">@<bdi>luckow</bdi></a> that's what I did (ish)! Uptime Kuma notifications =&gt; n8n webhook =&gt; Matrix notification.</p>
]]></description><link>https://forum.cloudron.io/post/34333</link><guid isPermaLink="true">https://forum.cloudron.io/post/34333</guid><dc:creator><![CDATA[thetomester13]]></dc:creator><pubDate>Sat, 24 Jul 2021 16:00:00 GMT</pubDate></item><item><title><![CDATA[Reply to Using Webhooks on Sat, 24 Jul 2021 15:55:15 GMT]]></title><description><![CDATA[<p dir="auto">Nice <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=b6971addb6c" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /> I am trying uptime via webhook to n8n to rocket.chat. In principle, it works. The next invested hour will be about the payload.</p>
]]></description><link>https://forum.cloudron.io/post/34332</link><guid isPermaLink="true">https://forum.cloudron.io/post/34332</guid><dc:creator><![CDATA[luckow]]></dc:creator><pubDate>Sat, 24 Jul 2021 15:55:15 GMT</pubDate></item><item><title><![CDATA[Reply to Using Webhooks on Sat, 24 Jul 2021 15:38:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> Thank you! Sadly, without the ability to pass other content in JSON, I won't be able to use a remote Apprise instance with Uptime Kuma.</p>
]]></description><link>https://forum.cloudron.io/post/34328</link><guid isPermaLink="true">https://forum.cloudron.io/post/34328</guid><dc:creator><![CDATA[mazarian]]></dc:creator><pubDate>Sat, 24 Jul 2021 15:38:27 GMT</pubDate></item><item><title><![CDATA[Reply to Using Webhooks on Sat, 24 Jul 2021 02:36:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mazarian" aria-label="Profile: mazarian">@<bdi>mazarian</bdi></a> From what I can tell from <a href="https://github.com/louislam/uptime-kuma/blob/0dbecca10f5aaf53795f9f7a9568717372b9fcec/server/notification.js#L53" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/louislam/uptime-kuma/blob/0dbecca10f5aaf53795f9f7a9568717372b9fcec/server/notification.js#L53</a>, you just put the URL. The body of the message is always:</p>
<pre><code>                {
                    heartbeat: heartbeatJSON,
                    monitor: monitorJSON,
                    msg,
                };
</code></pre>
]]></description><link>https://forum.cloudron.io/post/34314</link><guid isPermaLink="true">https://forum.cloudron.io/post/34314</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Sat, 24 Jul 2021 02:36:36 GMT</pubDate></item></channel></rss>