> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.cthings.io/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How do I add webhooks to devices?

In cThings Cloud, you can configure webhooks for your devices to automatically send their data to an HTTP endpoint that you manage.

||| Always ensure your webhook endpoint is **secure (HTTPS with authentication), robustly available, and can handle retries, duplicate payloads, and payload size changes** to avoid data loss, security risks, or processing errors. For steps on adding webhooks in bulk, see the section further down this page.

## Adding a webhook to a device

|| If you’d like to create a webhook before adding it to a device, see this article: ${color}[#000000](__How do I create a webhook?__)

##### Access the device configuration

* Navigate to your device within cThings Cloud.
* Select the **Configuration** tab located at the top of the device page.

![](https://storage.crisp.chat/users/helpdesk/website/-/6/6/a/7/66a70a6ed8fbb400/screenshot-2025-10-02-at-17004_xhugdd.png =580xauto)

##### Add the webhook
* In the **Configuration** tab, scroll down to the **Device Webhooks** tile.
* Click **+ Add Webhook** in the corner of the tile to open the webhook menu.

![](https://storage.crisp.chat/users/helpdesk/website/-/6/6/a/7/66a70a6ed8fbb400/screenshot-2025-10-02-at-17060_iav3tx.png)

* The webhook menu will be empty if you haven’t created any webhooks yet.
* Click the webhook you want to add to this device.

![](https://storage.crisp.chat/users/helpdesk/website/-/6/6/a/7/66a70a6ed8fbb400/screenshot-2025-10-02-at-17145_1id8y2.png =662xauto)

* A confirmation notification will appear once your webhook has been added successfully.

![](https://storage.crisp.chat/users/helpdesk/website/-/6/6/a/7/66a70a6ed8fbb400/screenshot-2025-10-09-at-09590_1jp9bzn.png)

##### Testing your webhook

* Click the **clipboard icon** next to your webhook to send a test request.
* This sends a mock payload to your specified URL to verify that the webhook is working correctly.

![](https://storage.crisp.chat/users/helpdesk/website/-/6/6/a/7/66a70a6ed8fbb400/screenshot-2025-10-02-at-17165_1an7g0p.png)


## Adding a webhook to multiple devices

* You can add a webhook to multiple devices within an asset.
* This applies the webhook to **either all devices in the asset** or **only those within the selected asset hierarchy level**.

##### Select your desired devices

* Navigate to the asset of your choice.
* Open the **Asset** dropdown menu, then select the **Add Device Webhook** option.


![](https://storage.crisp.chat/users/helpdesk/website/-/6/6/a/7/66a70a6ed8fbb400/screenshot-2025-10-09-at-09171_mok5wl.png)

##### Choose your device scope

* Select **This Asset Only** to add the webhook to devices at this specific hierarchy level.
* Select **All Devices** to include all devices under the chosen asset.

![](https://storage.crisp.chat/users/helpdesk/website/-/6/6/a/7/66a70a6ed8fbb400/screenshot-2025-10-09-at-09254_1q5ct6m.png)

##### Select your webhook of choice

* Click the **+** symbol to choose the webhook you want to add.
* To create a new webhook, click **Add New** and follow the steps in [How do I create a webhook?](https://support.cthings.io/en/article/how-do-i-create-a-webhook-ef5h1x/).

![](https://storage.crisp.chat/users/helpdesk/website/-/6/6/a/7/66a70a6ed8fbb400/screenshot-2025-10-09-at-09281_6xu40r.png)

##### Applying the webhook

* Review the webhook details to ensure everything is correct.
* Click **Add Webhook to (number) Devices** to confirm.

![](https://storage.crisp.chat/users/helpdesk/website/-/6/6/a/7/66a70a6ed8fbb400/screenshot-2025-10-09-at-09282_llao62.png)

##### Verifying the changes

* A confirmation message will show how many devices the webhook was added to.
* If the number seems lower than expected, the webhook may already exist on some devices - in that case, it won’t have been added again.

![](https://storage.crisp.chat/users/helpdesk/website/-/6/6/a/7/66a70a6ed8fbb400/screenshot-2025-10-09-at-09292_pdmwzu.png)