Get a List of Products

Before you get started

You'll need to have your Access Token ready.

Get a List of Products

  1. Send a GET request to https://api.tackle.io/v1/products/. We will be able to identify your vendor id through the token and grab the list of products associated with your profile.
curl -L -X GET 'https://api.tackle.io/v1/products' \
-H 'Authorization: Bearer your-jwt-here'
  1. If successful, you will receive a 200 OK response similar to the following:
{
  "data": [
    {
      "productid": "abcd-1234-efgh-5678",
      "product_name": "example-product",
      "cloud": "aws",
      "link": "https://api.tackle.io/v1/products/abcd-1234-efgh-5678"
    },
    {
      "productid": "ijkl-9012-mnop-3456",
      "product_name": "another-example-product",
      "cloud": "gcp",
      "link": "https://api.tackle.io/v1/products/ijkl-9012-mnop-3456"
    }
  ],
  "metadata": {
    "link": "https://api.tackle.io/v1/products"
  }
}

Ready to see the code in action? Check out our Get a List of Products recipe!

You'll be able to find more examples of different possible responses in the List Products API reference.


What’s Next