# Import QnA

## Importing QnA

<mark style="color:green;">`POST`</mark> `https://{{account_id}}.acquire.io/api/v1/bot/qna/import`

Import QnA

#### Headers

| Name          | Type   | Description         |
| ------------- | ------ | ------------------- |
| Authorization | string | Bearer {{api\_key}} |

#### Request Body

| Name       | Type    | Description |
| ---------- | ------- | ----------- |
| qnaGroupId | integer |             |
| qnaSource  | string  |             |

{% tabs %}
{% tab title="200 " %}

```
{
  "data": {
    "success": true,
    "message": "Question Imported Successfully"
  }
}

```

{% endtab %}
{% endtabs %}

## Body(raw)

```
{
  "language": "en",
  "sourceLang": "en",
  "qnaGroupId": 1,
  "qnaSource": "acquire",
  "qnaPairs": [
    {
      "questions": "Test Question 1",
      "answerType": "random",
      "answers": [
        "Test Answer 1",
        "Test Answer 2",
        "Test Answer 3"
      ]
    },
    {
      "questions": "Test Question 2",
      "answerType": "random",
      "answers": [
        "-same-"
      ]
    }
  ],
  "serviceJSON": {}
}

```
