Starting a Webhook Subscription
Starting a Webhook Subscription

Starting a Webhook Subscription

As long as you have a functioning webhook subscription, you can start the subscription at any time by taking the following steps.
  1. Send a GET request to api.zebra.com/v2/devices/environmental-sensors/event/subscription/:subscriptionId/start. You will need to provide the specific subscriptionId you want to stop as a path variable. Be sure to use your own Client Key and tenant for your subscription.
  2. Your cURL should look similar to the following example.
    cURL to Start a Webhook Subscription Example
  3. If your subscription started successfully, you will receive an empty 200 OK response.
  4. If you are trying to start a subscription that is currently running, you will receive a 409 Conflict response because you cannot start a subscription that is currently running.