mirror of
https://github.com/sascha-hemi/pycom-documentation.git
synced 2026-03-21 16:06:43 +01:00
1.3 KiB
1.3 KiB
Web hooks
Whenever one of your integrated devices sends a signal to our broker, we perform an HTTP request defined by the user. You can use some presets (DEVICE_TOKEN, USER_ID, etc), which will act like placeholders and will be dinamically replaced at the moment of performing the request with the relative content.
Integrate your devices
- Go in the sidebar, click on New Integration and then on Webhook
- Fill in the form specifying the following information:
- The remote URL to which we will send the data
- An event name
- The HTTP method
- The request format. Please note that we will prefill some headers whenever you change the format. The prefilled headers are not modifiable.
- You can optionally add some more headers and query parameters. There's also an eased interface for basci HTTP auth.
Once you're done, you'll see a preview of the request at the bottom of the page. Remember to choose the devices you want to bind to this service.
- If everything's worked as expected, you should be able to see a summary of your integration like the following:


