# POST QNA Thread

## POST QNA Thread

<mark style="color:green;">`POST`</mark> `https://api.cakes.com/qna/thread/:id/register`

This endpoint allows you to post new QNA Thread

#### Path Parameters

| Name | Type   | Description                |
| ---- | ------ | -------------------------- |
| id   | string | question id for the thread |

#### Request Body

| Name     | Type   | Description                  |
| -------- | ------ | ---------------------------- |
| user\_id | string | user id who wrote the thread |
| text     | string | Thread text                  |

{% tabs %}
{% tab title="200 QNA Thread successfully posted." %}

```
{    "message": "success post QNA thread"}
```

{% endtab %}

{% tab title="404 Could not find a question matching this query." %}

```
{    "message": "Could not find matching question"}
```

{% endtab %}
{% endtabs %}
