# Web Hooks

Webhooks allow interaction between web-based applications through the use of custom callbacks.

Rapt Cloud allows users to create webhooks that automatically send device telemetry to a remote service.  As soon as the telemetry is received by the Rapt Cloud, it checks to see if there is a webhook configured for the device and submits the data accordingly.&#x20;

Webhooks are the preferred method of sharing data with other web-based services.  The other option is to poll the Rapt API for telemetry; however this is a less efficient method of extracting the data.

If you would like more information on integrating with the Rapt API, see the [documentation](https://api.rapt.io).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.rapt.io/integrations/web-hooks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
