The Webhooks feature allows The Things Stack to send application related messages to specific HTTP(S) endpoints.
Who is it for?
Webhooks can be used to build integrations between The Things Stack and any third party service. For example, The Things Stack can send a webhook every time an uplink is received, which can then be visualized in an external dashboard. See Webhook Templates for examples of third party services which The Things Stack is pre-configured to work with.
Typical use cases
- Visualizing or acting on uplink data on another platform.
- Scheduling downlinks from a third party service.
How does it work?
Webhooks access an HTTP(S) endpoint and pass relevant data as JSON. The third party service must expose this endpoint and listen for data, or post messages to The Things Stack. For uplinks, this is encrypted or unencrypted application data, metadata about gateways and signal strength, timestamps, etc. For downlinks, The Things Stack expects an application payload.
See Data Formats for examples of uplink and downlink JSON messages.