The webhook
This page explains how to edit the webhook sent by The Things Stack
NOTE: If you need more information about webhooks you should checkout the things stack documentation
To create a new webhook go into your application then select "Integrations -> Webhooks" in the menu on the left side.

Press the "Add webhook" button then "Custom webhook". Fill in the fields like this
WebhookID: webhook name
Webhook format: the format you want your webserver to receive data we use JSON
Base URL: the base URL to your webserver e.g. "https://www.sintef.no"
Downlink API key: can be used to confirm that the webhook is from The Things Stack (we don't use it)
The webhook from the things stack is really big, you can use this to filter it out so you only get the important data.
Filter event data: end_device_ids.device_id, up.uplink_message.decoded_payload, up.uplink_message.f_port, recieved_at
The webhook will be sent when one of these options are enabled. We only need to receive a webhook when we get data from the node so we choose uplink message. You need to chose a path for each event type for our event type we choose the path /hook
which is configured in in the webserver.
Enabled event types: Uplink message [/hook]

Last updated