> For the complete documentation index, see [llms.txt](https://doc.vapi.co/tr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.vapi.co/tr/en/tr-turkey-datasets-and-api-reference/interaction.md).

# Interaction

### Endpoint: /product-interaction

[API URL](/tr/en/getting-started/api-url.md)

### Request Method: <mark style="color:$warning;">POST</mark>

### Header Parameters

<table><thead><tr><th width="154">parameter</th><th width="108">type</th><th>definition</th></tr></thead><tbody><tr><td>Authorization</td><td>string</td><td>Bearer &#x3C;API Key><a data-mention href="#curl-istek-oernegi">#curl-istek-oernegi</a> <a data-mention href="/tr/en/getting-started/identity-verfication.md">Identity Verfication</a></td></tr></tbody></table>

### Body Parameters

<table><thead><tr><th width="153">parameter</th><th width="110">type</th><th width="327">definition</th><th>compulsory</th></tr></thead><tbody><tr><td>products</td><td>array</td><td>List of drugs whose interactions will be checked.</td><td><strong>yes</strong></td></tr><tr><td>products[].id</td><td>integer</td><td>Unique ID for the drug whose interaction will be checked.</td><td>yes</td></tr></tbody></table>

### Response Parameters

#### <mark style="color:$success;">data</mark> [Response Structure](/tr/en/getting-started/response-structure.md)

| product          | object  | Contains information on the primary interacting drug.                             |
| ---------------- | ------- | --------------------------------------------------------------------------------- |
| affectingProduct | object  | Contains information on other drugs affecting the primary drug.                   |
| description      | string  | Description and warning text of the medical interaction between two drugs.        |
| color            | object  | Color and priority details indicating the risk/severity level of the interaction. |
| success          | boolean | Indicates whether the request was successful (true/false).                        |

#### <mark style="color:$success;">product / affectingProduct Detayları</mark>&#x20;

| **parameter** | **type** | **definition**                                             |
| ------------- | -------- | ---------------------------------------------------------- |
| id            | integer  | Unique ID of the drug.                                     |
| name          | string   | Full name of the drug (including drug + drugform details). |
| barcode       | string   | Barcode number of the drug.                                |

#### <mark style="color:$success;">color Detayları</mark>

| **parameter** | **type** | **definition**                                                                |
| ------------- | -------- | ----------------------------------------------------------------------------- |
| id            | integer  | Unique ID of the color level.                                                 |
| name          | string   | Color name (e.g., orange, yellow). Indicates the severity of the interaction. |
| priority      | integer  | Priority/severity degree of the interaction.                                  |
| htmlCode      | string   | HEX code of the color for use in UI displays (e.g., #FF9900).                 |

<figure><img src="https://content.gitbook.com/content/yoqXCLsgP4CqhklelIUV/blobs/s7qhFcueIv7seHfgFgJw/image.png" alt=""><figcaption></figcaption></figure>

### <mark style="color:blue;">curl</mark> Request Example

```
Bash
curl --location 'https://api.vapi.co/product-interaction' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <API Anahtarı>' \
--data '{
    "products": [
        {
            "id": 5890
        },
        {
            "id": 19301
        },
        {
            "id": 23966
        }
    ]
}'
```

### <mark style="color:blue;">postman</mark> Request Example

<figure><img src="https://content.gitbook.com/content/yoqXCLsgP4CqhklelIUV/blobs/PX5bajiPcOnu6qqXXH40/image.png" alt=""><figcaption></figcaption></figure>

### Response Example

```json
{
    "data": [
        {
            "product": {
                "id": 201,
                "name": "COUMADİN Tablet 10 mg 25 tabletlik ambalaj",
                "barcode": "8699502010253"
            },
            "affectingProduct": {
                "id": 6834,
                "name": "ARVELES Film Kaplı Tablet 25 mg 20 tabletlik ambalaj",
                "barcode": "8699832090055"
            },
            "description": "NSAİİ'ler antikoagülanların etkililiğini artırabilir. Kombine tedavide hastalar yakından takip edilmelidir. ",
            "color": {
                "id": 3,
                "name": "turuncu",
                "priority": 2,
                "htmlCode": "#FF9900"
            }
        },
        {
            "product": {
                "id": 201,
                "name": "COUMADİN Tablet 10 mg 25 tabletlik ambalaj",
                "barcode": "8699502010253"
            },
            "affectingProduct": {
                "id": 6834,
                "name": "ARVELES Film Kaplı Tablet 25 mg 20 tabletlik ambalaj",
                "barcode": "8699832090055"
            },
            "description": " NSAii'ler ile varfarinin gastrointestinal kanama üzerindeki etkisi sinerjiktir. Varfarin ile NSAİİ'ler mümkünse eşzamanlı kullanılmamalı veya  klinik ve laboratuvar gözetimi artırılarak dikkatle uygulanmalıdır. \r\n",
            "color": {
                "id": 3,
                "name": "turuncu",
                "priority": 2,
                "htmlCode": "#FF9900"
            }
        },
        {
            "product": {
                "id": 201,
                "name": "COUMADİN Tablet 10 mg 25 tabletlik ambalaj",
                "barcode": "8699502010253"
            },
            "affectingProduct": {
                "id": 6834,
                "name": "ARVELES Film Kaplı Tablet 25 mg 20 tabletlik ambalaj",
                "barcode": "8699832090055"
            },
            "description": "Bütün NSAID'ler kanama riskini artırır ve kanama riski antikoagülanlarla kombine edildiklerinde artar. ",
            "color": {
                "id": 1,
                "name": "sarı",
                "priority": 3,
                "htmlCode": "#F7F700"
            }
        }
    ],
    "success": true
}
            "href": "https://api.vapi.co/products?page=2&per-page=500"
        }
    },
    "_meta": {
        "totalCount": 27018,
        "pageCount": 55,
        "currentPage": 1,
        "perPage": 500
    },
    "success": true
}
```

{% content-ref url="/pages/kQ1b7c1YcYmvZPRdDGnc" %}
[Drug Search](/tr/en/tr-turkey-datasets-and-api-reference/medicines/drug-search.md)
{% endcontent-ref %}
