Get a Product
Before you get started
You'll need to have your Access Token and a Product ID ready.
Get a Product
- Send a GET request to
https://api.tackle.io/v1/products/{productid}
, where{productid}
is the product id of the product that you want the information from.
curl -L -X GET 'https://api.tackle.io/v1/products/{productid}' \
-H 'Authorization: Bearer your-jwt-here'
- If successful, you will receive a
200 OK
response similar to the following:
{
"data": {
"productid": "{productid}",
"product_name": "example-product",
"cloud": "aws",
"status": "in-progress",
"registration": {
"fields": [
{
"validation_type": null,
"default": true,
"display_title": "Company",
"data_type": "text",
"options": null,
"title": "Company",
"tackle_required": true,
"integrations": null,
"enabled": true,
"required": true
},
{
"validation_type": null,
"default": true,
"display_title": "Full Name",
"data_type": "text",
"options": null,
"title": "Full Name",
"tackle_required": true,
"integrations": null,
"enabled": true,
"required": true
},
{
"validation_type": "email",
"default": true,
"display_title": "Email Address",
"data_type": "text",
"options": null,
"title": "Email Address",
"tackle_required": true,
"integrations": null,
"enabled": true,
"required": true
}
],
"redirect": {
"url": "https://www.example.com",
"params": {}
}
}
},
"metadata": {
"link": "https://api.tackle.io/v1/products/{productid}"
}
}
Ready to see the code in action? Check out our Get a Product recipe!
π
Get a Product
Open Recipe
You'll be able to find more examples of different possible responses in the Get a Product API reference.
Updated about 3 years ago
Whatβs Next