Webhooks are a simple and flexible way to send data from your Particle devices to other apps and services around the Internet. Particle developers have been able to leverage the power of webhooks for some time, but this feature has not yet been made available to those building products at scale on the Particle platform.
Today, we’re proud to announce that product webhooks are now available as a public beta.
If you a Particle product creator, you have likely come across the challenge of sending data from your fleet of devices to third-party services. Webhooks for products is a tremendous step forward towards simplifying your data pipeline at scale, and is part of a larger effort to provide tight Integrations with services around the Internet.
###How it works
Product webhooks will allow you to define a single webhook than any of the devices in the product’s fleet can trigger.
As devices in your product’s fleet will be running the same firmware, product webhooks are a scalable way to integrate with third-party web services. Trigger a product webhook when you’d like to do thing like:
- Send a text message, or trigger a payment based on something happening in the real world
- Pipe information about how a customer’s device is behaving into an analytics service
- Make an API call to your servers to send personalized content to a device
- Save data to a hosted database in the cloud
How to get started
Next, check out our documentation which has in-depth information on creating and managing product webhooks. If you get stuck, let us know!
If you have been using webhooks as a developer, you may be used to seeing webhook events (
hook-response) coming through your event stream and visible on your logs hub on the dashboard. For product webhooks, you will not see webhook events coming through the product event stream. You can, however, still see these events on the event stream of the device owner (i.e. if I own a product device as a Particle customer, and my device triggers a product webhook, it will appear in my customer’s event stream).
We realize that you as a product creator will want more visibility into the health of your webhooks, and are working on a solution to provide detailed audit logs of webhooks.
This is a beta release of product webhooks, which means that things will likely be changing & evolving over the next few months. Our current planned improvements for product webhooks include:
- An audit log for webhooks to gain insight into webhook activity and potential errors
- Polished firmware macros for subscribing to a product-level webhook
We’re excited for our community to get started, and look forward to the feedback you provide!