# \[APP\]\[Pro\] Webhook.manager

**URL:** <https://community.homey.app/t/app-pro-webhook-manager/50357>\
**Category:** Apps\
**Tags:** app, homey-pro\
**Created:** [August 12, 2021, 9:11am UTC](https://community.homey.app/t/app-pro-webhook-manager/50357 "2021-08-12T09:11:40Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jorden](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jorden/32/8856_2.png) [@Jorden](https://community.homey.app/u/Jorden)\
**Post date:** [August 12, 2021, 9:11am UTC](https://community.homey.app/t/app-pro-webhook-manager/50357/1 "2021-08-12T09:11:41Z")

</div>

Support topic for the app [Webhook Manager](https://homey.app/a/webhook.manager/)

After installing the app, go to the ‘Settings’ page and see the Webhook Manager settings. It shows the URL you can POST to and example code in PHP with the correct URL for your installation.

For example, in PHP using CURL:

```auto
<?php
	$data = array("event" => "MyEvent", "data1" => "test1", "data2" => "test2", "data3" => "test3");                                                                    
	$data_string = json_encode($data);
	
	$ch = curl_init('https://webhooks.athom.com/webhook/57274085acb3bd6d24b3d200/?token=YOUR_TOKEN');
	
	curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");                                                                     
	curl_setopt($ch, CURLOPT_POSTFIELDS, $data_string);                                                                  
	curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);                                                                      
	curl_setopt($ch, CURLOPT_HTTPHEADER, array(                                                                          
	    'Content-Type: application/json',                                                                                
	    'Content-Length: ' . strlen($data_string))                                                                       
	);                                                                                                                   
	                                                                                                                     
	$result = curl_exec($ch);
	
	var_dump ($result);
?>

```

In a web browser:

```auto
https://webhooks.athom.com/webhook/57274085acb3bd6d24b3d200/?token=YOUR_TOKEN&event=MyEvent&data1=test1&data2=test2&data3=test3

```

Linux command line (using curl):

```auto
curl -d '{"event":"MyEvent","data1":"test1","data2":"test2","data3":"test3"}' -H "Content-Type: application/json" https://webhooks.athom.com/webhook/57274085acb3bd6d24b3d200/?token=YOUR_TOKEN

```

Please notice that all fields (event, data1, data2, data3) as well as the token field (replace YOUR\_TOKEN) are required.

---

<div class="post-metadata">

**Author:** ![Jorden](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jorden/32/8856_2.png) [@Jorden](https://community.homey.app/u/Jorden)\
**Post date:** [August 12, 2021, 9:12am UTC](https://community.homey.app/t/app-pro-webhook-manager/50357/2 "2021-08-12T09:12:46Z")

</div>

Please note that the current 0.2.6 version has problems. A fix for this is on its way.

---

<div class="post-metadata">

**Author:** ![Dactilus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dactilus/32/29792_2.png) [@Dactilus](https://community.homey.app/u/Dactilus)\
**Post date:** [November 9, 2021, 9:03pm UTC](https://community.homey.app/t/app-pro-webhook-manager/50357/3 "2021-11-09T21:03:13Z")

</div>

Hi,

i am trying to call webhook but my flow is not triggered.

From postman i am calling following request:

POST [https://webhooks.athom.com/webhook/xxxxxxxxxx/?token=yyyyyyyy](https://webhooks.athom.com/webhook/xxxxxxxxxx/?token=yyyyyyyy) HTTP/1.1  
Content-Type: application/json  
Host: [webhooks.athom.com](http://webhooks.athom.com)  
Content-Length: 88

{“event”: “testEvent”, “data1”: “testData1”, “data2”: “testData2”, “data3”: “testData3”}

Getting response 200, and it returns “ok” in body, but flow is not triggered.

Flow definition:

 ![testFlow](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/1/f1b4e88285a8f831e3d2a653d36b64c2d106ec72.jpeg)

Homey Firmware version: 7.1.6

Any ideas what is wrong?

Thanks,  
Michal

---

<div class="post-metadata">

**Author:** ![Edwin\_D](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edwin_d/32/136417_2.png) [@Edwin\_D](https://community.homey.app/u/Edwin_D)\
**Post date:** [November 9, 2021, 9:24pm UTC](https://community.homey.app/t/app-pro-webhook-manager/50357/4 "2021-11-09T21:24:16Z")

</div>

@Jorden, Can you explain what the advantage of this app is over the standard webhooks provided by Athom? Those also allow for parameters to be sent.

---

<div class="post-metadata">

**Author:** ![Jorden](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jorden/32/8856_2.png) [@Jorden](https://community.homey.app/u/Jorden)\
**Post date:** [November 15, 2021, 11:13am UTC](https://community.homey.app/t/app-pro-webhook-manager/50357/5 "2021-11-15T11:13:15Z")

</div>

Currently: none. I think the builtin webhooks can completely replace the Webhook.manager functionality.

At the moment I built the app, these functions weren’t available yet. I might ask Athom to remove the Webhook.Manager app from the store, meaning there will be no more updates to it but current installations remain available.

---

<div class="post-metadata">

**Author:** ![Edgar](https://avatars.discourse-cdn.com/v4/letter/e/b487fb/32.png) [@Edgar](https://community.homey.app/u/Edgar)\
**Post date:** [January 12, 2022, 8:29am UTC](https://community.homey.app/t/app-pro-webhook-manager/50357/6 "2022-01-12T08:29:15Z")

</div>

Hey  
i believe that in ur script, this: 57274085acb3bd6d24b3d200  
should be replaced by my athom cloud id, right?  
but what is the token? how to find it?

---

<div class="post-metadata">

**Author:** ![Jorden](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jorden/32/8856_2.png) [@Jorden](https://community.homey.app/u/Jorden)\
**Post date:** [January 12, 2022, 8:58am UTC](https://community.homey.app/t/app-pro-webhook-manager/50357/7 "2022-01-12T08:58:06Z")

</div>

It mustn’t be replaced. You need to install the app, go to the settings page of the app in Homey, all is explained there.

---

<div class="post-metadata">

**Author:** ![Edgar](https://avatars.discourse-cdn.com/v4/letter/e/b487fb/32.png) [@Edgar](https://community.homey.app/u/Edgar)\
**Post date:** [January 12, 2022, 9:12am UTC](https://community.homey.app/t/app-pro-webhook-manager/50357/8 "2022-01-12T09:12:42Z")

</div>

not everything, i cannot find the explaination of how to find that token.

---

<div class="post-metadata">

**Author:** ![Jorden](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jorden/32/8856_2.png) [@Jorden](https://community.homey.app/u/Jorden)\
**Post date:** [January 12, 2022, 9:25am UTC](https://community.homey.app/t/app-pro-webhook-manager/50357/9 "2022-01-12T09:25:29Z")

</div>

There is an input field at the top and bottom of the settings page, that contains the full URL including the token.

You can also find it a little bit lower in the PHP code.

---

<div class="post-metadata">

**Author:** ![Edgar](https://avatars.discourse-cdn.com/v4/letter/e/b487fb/32.png) [@Edgar](https://community.homey.app/u/Edgar)\
**Post date:** [January 12, 2022, 9:38am UTC](https://community.homey.app/t/app-pro-webhook-manager/50357/10 "2022-01-12T09:38:08Z")

</div>

oh!! those are already mine?  
but why is the first mentioned id the same as yours? 57274085acb3bd6d24b3d200

---

<div class="post-metadata">

**Author:** ![Jorden](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jorden/32/8856_2.png) [@Jorden](https://community.homey.app/u/Jorden)\
**Post date:** [January 12, 2022, 9:50am UTC](https://community.homey.app/t/app-pro-webhook-manager/50357/11 "2022-01-12T09:50:56Z")

</div>

Yeah that’s correct!

The first is one refers to the Athom Cloud Webhook that is “mine”; that takes care of the server side handling of the webhook at the Athom servers. The code I placed on the Athom server makes sure that the call/data will be redirected to your Homey, according to the token that is unique for your Homey installation.

---

<div class="post-metadata">

**Author:** ![Edgar](https://avatars.discourse-cdn.com/v4/letter/e/b487fb/32.png) [@Edgar](https://community.homey.app/u/Edgar)\
**Post date:** [January 12, 2022, 10:08am UTC](https://community.homey.app/t/app-pro-webhook-manager/50357/12 "2022-01-12T10:08:22Z")

</div>

hummm, oke… then i don’t understand why it is not working. i will figure it out then.  
thnx for fast support.

---

<div class="post-metadata">

**Author:** ![Jorden](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jorden/32/8856_2.png) [@Jorden](https://community.homey.app/u/Jorden)\
**Post date:** [January 24, 2022, 8:53am UTC](https://community.homey.app/t/app-pro-webhook-manager/50357/13 "2022-01-24T08:53:42Z")

</div>

Make sure to mention all variables in the URL, even if they are empty. That might help.

---

<div class="post-metadata">

**Author:** ![Henk\_Renting](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_renting/32/87634_2.png) [@Henk\_Renting](https://community.homey.app/u/Henk_Renting)\
**Post date:** [November 13, 2022, 10:16am UTC](https://community.homey.app/t/app-pro-webhook-manager/50357/14 "2022-11-13T10:16:09Z")

</div>

Would you be willing to update this app to SDKv3 as well, @Jorden?  
I find this app very usefull for easy webhook usage….

---

<div class="post-metadata">

**Author:** ![Jorden](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jorden/32/8856_2.png) [@Jorden](https://community.homey.app/u/Jorden)\
**Post date:** [November 14, 2022, 10:00am UTC](https://community.homey.app/t/app-pro-webhook-manager/50357/15 "2022-11-14T10:00:55Z")

</div>

It’s on my todolist for my days off in december (between Christmas and New year’s eve), together with the mail-app, Telegram app and LG Hombot app.

The Webhook app is the least work so might put that one at the top of the list.

---

<div class="post-metadata">

**Author:** ![Henk\_Renting](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_renting/32/87634_2.png) [@Henk\_Renting](https://community.homey.app/u/Henk_Renting)\
**Post date:** [November 14, 2022, 1:15pm UTC](https://community.homey.app/t/app-pro-webhook-manager/50357/16 "2022-11-14T13:15:55Z")

</div>

Great!  
Thanks @Jorden!

Does anyone know what will happen when I migrate to my new Homey 2023 and install an updated app some time after?  
Will the flows that the updated app concern repair automagically?

I understand it depends on how Athom is implementing migration, but the bottleneck seems to be Zigbee.  
How about repairing devices and flows that do kot already have a SDK v3 version of it’s app?

---

<div class="post-metadata">

**Author:** ![Vincent\_Ducate](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/vincent_ducate/32/60089_2.png) [@Vincent\_Ducate](https://community.homey.app/u/Vincent_Ducate)\
**Post date:** [November 22, 2022, 6:39am UTC](https://community.homey.app/t/app-pro-webhook-manager/50357/17 "2022-11-22T06:39:06Z")

</div>

Hi,

Will the Webhook.manager be available for the Homey Pro 2023?

Regards,  
Vincent

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [November 22, 2022, 1:50pm UTC](https://community.homey.app/t/app-pro-webhook-manager/50357/18 "2022-11-22T13:50:26Z")

</div>

@Vincent_Ducate See two posts UP !

> [@\[APP\]\[Pro\] Webhook.manager](https://community.homey.app/t/app-pro-webhook-manager/50357/15):
>
> It’s on my todolist for my days off in december (between Christmas and New year’s eve), together with the mail-app, Telegram app and LG Hombot app. The Webhook app is the least work so might put that one at the top of the list.

---

<div class="post-metadata">

**Author:** ![Henk\_Renting](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_renting/32/87634_2.png) [@Henk\_Renting](https://community.homey.app/u/Henk_Renting)\
**Post date:** [January 14, 2023, 11:32am UTC](https://community.homey.app/t/app-pro-webhook-manager/50357/19 "2023-01-14T11:32:03Z")

</div>

> [@Henk\_Renting](#):
>
> Does anyone know what will happen when I migrate to my new Homey 2023 and install an updated app some time after?  
> Will the flows that the updated app concern repair automagically?

Athom writes in it’s latest blog:  
“The fine print here is the exception of any apps still using SDK v2 at time of migration. However, once such an app has been updated to SDK v3, you can then install the app, and your previous settings will still be there.”  
So good news, there!  
But having an upde before is always better of course. Did you fine some time yet, @Jorden?  
👍 😃

---

<div class="post-metadata">

**Author:** ![Jorden](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jorden/32/8856_2.png) [@Jorden](https://community.homey.app/u/Jorden)\
**Post date:** [January 16, 2023, 9:52am UTC](https://community.homey.app/t/app-pro-webhook-manager/50357/20 "2023-01-16T09:52:37Z")

</div>

I have updated the first app (Telegram Bot) to SDK v3 but still need to release it to the appstore. Sadly had to make some big changes to keep the ‘shared’ bot save so this took some extra time.

I am planning to do the ImageGrabber next, because I think the combination ImageGrabber-Telegram is used often and doesn’t work so stable with the SDK v3 update of Telegram and the SDK v2 version of ImageGrabber.  
The WebhookManager and Mail-app are next.

[Next page](https://community.homey.app/t/app-pro-webhook-manager/50357.md?page=2)
