Get a List of Products
Before you get started
You'll need to have your Access Token ready.
Get a List of Products
- 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'- If successful, you will receive a
200 OKresponse similar to the following:
{
"data": [
{
"productid": "abcd-1234-efgh-5678",
"product_name": "example-aws-product",
"cloud": "aws",
"link": "https://api.tackle.io/v1/products/abcd-1234-efgh-5678"
},
{
"productid": "ijkl-9012-mnop-3456",
"product_name": "example-gcp-product",
"cloud": "gcp",
"link": "https://api.tackle.io/v1/products/ijkl-9012-mnop-3456"
},
{
"productid": "azure-product-name-example",
"product_name": "example-azure-product",
"cloud": "azure",
"link": "https://api.tackle.io/v1/products/azure-product-name-example"
},
{
"productid": "d53299f027fc1f63f562cca11a97aaaa",
"product_name": "example-redhat-product",
"cloud": "redhat",
"link": "https://api.tackle.io/v1/products/d53299f027fc1f63f562cca11a97aaaa"
}
],
"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.
Updated 10 months ago
What’s Next
Did this page help you?
