Loading...
The Add Match Image API allows you to add a single product image to an existing custom Match Image tool index, so the agent can match customer-sent photos against your catalog.
https://service.tailortalk.ai/api/v1/add_match_image
| Key | Value |
|---|---|
| Authorization | Agent <token> |
| Content-Type | application/json |
You can find agent_token on the Developer page, under the API Keys tab. Click the eye icon to reveal it, or the copy icon to copy it.

| Parameter | Required | Description |
|---|---|---|
| image_url | ✅ | Publicly accessible product image URL |
| metadata | ❌ | Additional product information (e.g. SKU, name, color, price) stored alongside the image and returned when a match is found |
{
"image_url": "https://example.com/products/red-shirt.jpg",
"metadata": {
"sku": "SKU123",
"product_name": "Red Shirt",
"color": "red",
"price": "499"
}
}
The API returns a JSON object confirming the image was added. The response payload is wrapped automatically under a data field with success: true:
{
"data": {
"message": "Image added to the match-image index.",
"image_url": "https://example.com/products/red-shirt.jpg"
},
"success": true
}
agent_id is derived from the token and does not need to be included in the request body.image_url must be publicly accessible; TailorTalk fetches it directly to index the image.source_type set to CUSTOM.