subscribe Through Webhook
Subscribes to a type of event on this data node until a given expirationDate and send notifications to a webhook.
The webhook is identified by its identifier (as edited in the Webcom developer console) and will be passed a given context. The subscription may be limited to a given expirationDate (if not, the Webcom back end uses the longest allowed duration for the subscription). If includesRevocation is true
, the webhook will also be notified when the Webcom back end revokes the subscription.
The resulting Subscription is returned asynchronously using a callback function.
Subscribes to a type of event on this data node for a given duration and send notifications to a webhook.
The webhook is identified by its identifier (as edited in the Webcom developer console) and will be passed a given context. If includesRevocation is true
, the webhook will also be notified when the Webcom back end revokes the subscription.
The resulting Subscription is returned asynchronously using a callback function.