Skip to content

Webhooks#

The webhook event handler delivers HTTP(S) requests to public endpoints. Webhooks contain lifecycle events and/or telemetry data which can be delivered to web applications, IoT platforms, API gateways or hyperscaler lambda functions.

Prerequisites#

  • A user with access to the Coiote IoT Device Management platform and appropriate permissions
  • A LwM2M device

Info

You can create up to 10 event handlers in your domain.

Create a webhook#

To create a new webhook event handler, select: Integrations > Data Integration Center.

Data integration center

Select Add event handler.

Add event handler

Select Webhook.

Add webhook

Provide basic information such as the name and description, optionally enabling the option to activate the event handler after creation.

Basic information

Select the events which will trigger the HTTP(S) requests.

Event types

Device events include:

  • Device created
  • First registration
  • Coiote IoT DM writes a value to a device
  • Device successfully executes a firmware update
  • Device deleted

Telemetry events include data which is generated by the device. Events can originate from Objects, Object Instance, Resources or Resource Instances.

Select event triggers

Configure webhook parameters#

Webhook parameters include:

  • URL address
  • Method: POST, PATCH or PUT
  • Authorization method, optionally adding a Username and Password or Bearer token
  • Optional custom headers

To validate the webhook parameters, it is possible to test the event handler before creating the event handler.

Test event handler

Influx and Datacake

For instructions on integrating data with Influx, visit the InfluxDB guide. To see how to integrate with Datacake, see the Datacake guide.

Define webhook parameters

Click Next step and Add event handler to create the event handler.

Active webhook

Warning

An event handler is automatically deactivated after several consecutive failed attempts. Manually reactivate the event handler to continue using the data integration.


Last update: August 21, 2023