Get a Webhook

Before you get started

You'll need to have your Access Token and Vendor ID or Product ID ready.

You'll also need an existing webhook. Don't know how to make one? Check out the Create or Update a Webhook page.

Get your Webhooks

Option 1: Get a product-level webhook

  1. Send a GET request to https://api.tackle.io/v1/webhooks/product/{productid}, where {productid} is the ID of the Product you want to get the webhook for.
curl -L -X GET 'https://api.tackle.io/v1/webhooks/product/12345' \
-H 'Authorization: Bearer your-jwt-here'
  1. If successful, you will receive a 200 OK response similar to the following:
{
  "data": {
    "url": "https://www.example.com"
    "filters": {
      "productid": "12345"
    },
    "auth_type": "basic"
  },
  "metadata": {
    "link": "https://api.tackle.io/v1/webhooks/product/12345"
  }
}

Ready to see the code in action? Check out our Retrieve a Product-Level Webhook recipe!

Option 2: Get a vendor-level webhook

  1. Send a GET request to https://api.tackle.io/v1/webhooks/vendor
curl -L -X GET 'https://api.tackle.io/v1/webhooks' \
-H 'Authorization: Bearer your-jwt-here'
  1. If successful, you will receive a 200 OK response similar to the following body:
{
  "data": {
    "url": "https://www.example.com"
    "filters": {
      "supported_clouds": ["aws", "gcp", "azure"]
    },
    "auth_type": "basic"
  },
  "metadata": {
    "link": "https://api.tackle.io/v1/webhooks/vendor"
  }
}

Ready to see the code in action? Check out our Retrieve a Vendor-Level Webhook recipe!


What’s Next