Get recall match
curl --request GET \
--url https://api.insightchain.ai/v1/recalls/matches/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.insightchain.ai/v1/recalls/matches/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.insightchain.ai/v1/recalls/matches/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"request_id": "615c5810-3c75-43d3-9e36-45abad04ee83",
"match": {
"id": "f22ad17b-0060-4243-9b75-c817931ca35b",
"notice_id": "000e33bf-7ff2-4bad-95f0-160fd8dc1e3a",
"item_id": "f29f7ba4-eb59-4852-85ec-3bf82a4678d4",
"basis": "gtin",
"score": 1,
"confirm_ready": true,
"status": "confirmed",
"evidence": {
"gtins": [
"07394311921349"
]
},
"decided_by": "daa1ddbf-97c2-446e-88c8-1e7185d6384c",
"decided_at": "2026-11-21T10:55:05.858+00:00",
"decision_note": "The barcode on our item is the one in the notice",
"follow_up_done_at": "2026-11-21T10:55:05.869+00:00",
"follow_up": {
"alert": "already_raised",
"done_at": "2026-11-21T10:55:05.869Z",
"match_id": "f22ad17b-0060-4243-9b75-c817931ca35b",
"holds_existing": 3,
"holds_proposed": 0,
"webhooks_pending": 0,
"exposure_truncated": false,
"holds_notice_added": 0,
"webhooks_delivered": 0,
"locations_with_stock": 3
},
"created_at": "2026-11-21T09:36:48.680797+00:00",
"updated_at": "2026-11-21T10:55:05.872588+00:00"
},
"notice": {
"id": "000e33bf-7ff2-4bad-95f0-160fd8dc1e3a",
"source": "eu_consumer_products",
"source_id": "SR/00001/26",
"notice_type": "alert",
"title": "Modelling foam; Example Toys",
"published_on": "2026-11-18",
"jurisdiction": "EU",
"product_name": "Modelling foam",
"brand": "Example Toys",
"url": "https://www.example.com/safety-alerts/10000001",
"source_updated_on": null,
"model_numbers": [
"2471666"
],
"gtins": [
"07394311921349"
],
"category": "Toys",
"hazard": "Chemical: The migration of boron from the clay is too high (measured value: 1395 mg/kg). Ingestion or contact with an excessive quantity ...",
"remedy": "Type of economic operator taking notified measure(s): ManufacturerCategory of measure(s): Withdrawal of the product from the marketDate o...",
"first_seen_at": "2026-11-21T09:20:15.081334+00:00",
"last_seen_at": "2026-11-21T09:20:12.339+00:00",
"authority": "EU Safety Gate"
},
"item": {
"id": "f29f7ba4-eb59-4852-85ec-3bf82a4678d4",
"external_id": "MAT-00000001",
"description": "Small Leather Goods - Style 00000001"
},
"match_reasons": {
"basis": "gtin",
"reasons": [
{
"identifier": "gtin",
"notice_value": "07394311921349",
"item_value": null,
"agrees": null
}
],
"shared_words": null,
"notice_words": null,
"restricted_circulation": false
},
"exposure": {
"item": {
"id": "f29f7ba4-eb59-4852-85ec-3bf82a4678d4",
"external_id": "MAT-00000001",
"description": "Small Leather Goods - Style 00000001"
},
"totals": {
"on_hand": 8,
"in_transit": 0,
"locations_with_stock": 3,
"open_purchase_quantity": 286,
"inbound_ship_notice_quantity": 0
},
"locations": [
{
"location_id": "6acfc06a-aea7-423c-9053-9e76080fa180",
"external_id": "1014",
"name": "Store 1014",
"country_code": "CA",
"location_type": "store",
"on_hand": 4,
"in_transit": 0,
"positions": [
{
"lot_id": null,
"lot": null,
"expiry_date": null,
"variant_id": null,
"on_hand": 4,
"in_transit": 0,
"available": null,
"uom": null,
"as_of": "2026-11-21T09:18:07.131+00:00"
}
]
}
],
"open_purchase_orders": [
{
"purchase_order_id": "b146df89-af70-4e99-9567-2a2151619883",
"purchase_order": "PI-PO-00054",
"status": "open",
"supplier_id": "36ea46f6-9469-4695-86db-d789d4366d5e",
"line_id": "e54e0afe-afb9-4716-af11-39d5a53b733a",
"line_number": 1,
"location_id": "1d9028ab-f94d-4d6f-b0bb-982fdbc97837",
"location": "1003",
"variant_id": null,
"quantity_open": 98,
"expected_delivery_date": "2026-11-14"
}
],
"inbound_ship_notices": [],
"trace": {
"tagged_units": true,
"lots": [],
"item": "MAT-00000001"
},
"truncated": {
"inventory": false,
"purchase_order_lines": false,
"ship_notices": false
}
},
"hold_tasks": [
{
"id": "0801202f-b592-47de-b5eb-95dcb6f4b015",
"status": "proposed",
"location_id": "28ee2961-0569-4379-83dd-21d62adcee36",
"quantity": 2,
"location": "1008",
"created_at": "2026-11-21T09:39:04.996697+00:00",
"primary": true,
"notices_total": 1
}
],
"hold_tasks_truncated": false,
"second_opinion": {
"offered": false,
"not_offered": "match_decided",
"configured": false,
"cap": {
"limit": 50,
"used_today": 0,
"remaining": 50
},
"opinion": null
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}Product recalls
Get recall match
One recall match with its notice (issuing authority and a link to the official notice), why it matched (each identifier compared, the notice’s value beside your item’s), and where the item is: stock on hand and in transit by location and lot, open purchase orders, inbound ship notices, and the hold tasks proposed for it.
Key scope: read (or execute). Module: product_compliance. exposure reads at most 2,000 inventory rows, 500 purchase-order lines and 200 ship notices (exposure.truncated says which were cut); at most 200 hold tasks, hold_tasks_truncated is true when more exist; match_reasons lists at most 10 GTINs and 10 model numbers
GET
/
v1
/
recalls
/
matches
/
{id}
Get recall match
curl --request GET \
--url https://api.insightchain.ai/v1/recalls/matches/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.insightchain.ai/v1/recalls/matches/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.insightchain.ai/v1/recalls/matches/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"request_id": "615c5810-3c75-43d3-9e36-45abad04ee83",
"match": {
"id": "f22ad17b-0060-4243-9b75-c817931ca35b",
"notice_id": "000e33bf-7ff2-4bad-95f0-160fd8dc1e3a",
"item_id": "f29f7ba4-eb59-4852-85ec-3bf82a4678d4",
"basis": "gtin",
"score": 1,
"confirm_ready": true,
"status": "confirmed",
"evidence": {
"gtins": [
"07394311921349"
]
},
"decided_by": "daa1ddbf-97c2-446e-88c8-1e7185d6384c",
"decided_at": "2026-11-21T10:55:05.858+00:00",
"decision_note": "The barcode on our item is the one in the notice",
"follow_up_done_at": "2026-11-21T10:55:05.869+00:00",
"follow_up": {
"alert": "already_raised",
"done_at": "2026-11-21T10:55:05.869Z",
"match_id": "f22ad17b-0060-4243-9b75-c817931ca35b",
"holds_existing": 3,
"holds_proposed": 0,
"webhooks_pending": 0,
"exposure_truncated": false,
"holds_notice_added": 0,
"webhooks_delivered": 0,
"locations_with_stock": 3
},
"created_at": "2026-11-21T09:36:48.680797+00:00",
"updated_at": "2026-11-21T10:55:05.872588+00:00"
},
"notice": {
"id": "000e33bf-7ff2-4bad-95f0-160fd8dc1e3a",
"source": "eu_consumer_products",
"source_id": "SR/00001/26",
"notice_type": "alert",
"title": "Modelling foam; Example Toys",
"published_on": "2026-11-18",
"jurisdiction": "EU",
"product_name": "Modelling foam",
"brand": "Example Toys",
"url": "https://www.example.com/safety-alerts/10000001",
"source_updated_on": null,
"model_numbers": [
"2471666"
],
"gtins": [
"07394311921349"
],
"category": "Toys",
"hazard": "Chemical: The migration of boron from the clay is too high (measured value: 1395 mg/kg). Ingestion or contact with an excessive quantity ...",
"remedy": "Type of economic operator taking notified measure(s): ManufacturerCategory of measure(s): Withdrawal of the product from the marketDate o...",
"first_seen_at": "2026-11-21T09:20:15.081334+00:00",
"last_seen_at": "2026-11-21T09:20:12.339+00:00",
"authority": "EU Safety Gate"
},
"item": {
"id": "f29f7ba4-eb59-4852-85ec-3bf82a4678d4",
"external_id": "MAT-00000001",
"description": "Small Leather Goods - Style 00000001"
},
"match_reasons": {
"basis": "gtin",
"reasons": [
{
"identifier": "gtin",
"notice_value": "07394311921349",
"item_value": null,
"agrees": null
}
],
"shared_words": null,
"notice_words": null,
"restricted_circulation": false
},
"exposure": {
"item": {
"id": "f29f7ba4-eb59-4852-85ec-3bf82a4678d4",
"external_id": "MAT-00000001",
"description": "Small Leather Goods - Style 00000001"
},
"totals": {
"on_hand": 8,
"in_transit": 0,
"locations_with_stock": 3,
"open_purchase_quantity": 286,
"inbound_ship_notice_quantity": 0
},
"locations": [
{
"location_id": "6acfc06a-aea7-423c-9053-9e76080fa180",
"external_id": "1014",
"name": "Store 1014",
"country_code": "CA",
"location_type": "store",
"on_hand": 4,
"in_transit": 0,
"positions": [
{
"lot_id": null,
"lot": null,
"expiry_date": null,
"variant_id": null,
"on_hand": 4,
"in_transit": 0,
"available": null,
"uom": null,
"as_of": "2026-11-21T09:18:07.131+00:00"
}
]
}
],
"open_purchase_orders": [
{
"purchase_order_id": "b146df89-af70-4e99-9567-2a2151619883",
"purchase_order": "PI-PO-00054",
"status": "open",
"supplier_id": "36ea46f6-9469-4695-86db-d789d4366d5e",
"line_id": "e54e0afe-afb9-4716-af11-39d5a53b733a",
"line_number": 1,
"location_id": "1d9028ab-f94d-4d6f-b0bb-982fdbc97837",
"location": "1003",
"variant_id": null,
"quantity_open": 98,
"expected_delivery_date": "2026-11-14"
}
],
"inbound_ship_notices": [],
"trace": {
"tagged_units": true,
"lots": [],
"item": "MAT-00000001"
},
"truncated": {
"inventory": false,
"purchase_order_lines": false,
"ship_notices": false
}
},
"hold_tasks": [
{
"id": "0801202f-b592-47de-b5eb-95dcb6f4b015",
"status": "proposed",
"location_id": "28ee2961-0569-4379-83dd-21d62adcee36",
"quantity": 2,
"location": "1008",
"created_at": "2026-11-21T09:39:04.996697+00:00",
"primary": true,
"notices_total": 1
}
],
"hold_tasks_truncated": false,
"second_opinion": {
"offered": false,
"not_offered": "match_decided",
"configured": false,
"cap": {
"limit": 50,
"used_today": 0,
"remaining": 50
},
"opinion": null
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}Authorizations
Response
OK