Now in Beta: Callbacks are available for /ping, /pingDevice, and /actionBatches!
LiveTools and Action Batches... now with Callbacks!
Find the original post in @DexterLaBora's API Early Access Announcement Community here
This snazzy update was made possible as a result of our recent OpenAPI v3 adoption, which has enabled us to improve the way we handle long-running tasks.
With the addition of "callbacks", async API requests can now be configured to deliver results via a webhook when they are ready. This is particularly useful in scenarios such as pinging a device for an extended period of time, or running an asynchronous Action Batch to deploy configurations at scale.
Check out these Dashboard API endpoints, where this feature is now available in beta:
Imagine not having to constantly check the status of your tasks. This new feature will significantly increase the efficiency of working with liveTools, avoiding the need to make an additional GET request to pull the status for the ping or action batch results.
Example of /ping with the new callback property as well as a section to understand what Callbacks you will receive via a webhook.