# GET QNA Question

## GET QNA Question

<mark style="color:blue;">`GET`</mark> `https://api.cakes.com/qna/question/list`

This endpoint allows you to get questions in Q\&A Board

#### Request Body

| Name     | Type   | Description                                |
| -------- | ------ | ------------------------------------------ |
| user\_id | string | user id if you want to filter by user      |
| category | string | category if you want to filter by category |

{% tabs %}
{% tab title="200 Q\&A List successfully retrieved." %}

```
{    "data": {
       "QNA Question List" : [{
          "question_id": "question_id",
          "user_id": "user_id",
          "category": "category",
          "pet_id": "pet id",
          "title": "title",
          "text": "text",
          "image_url": "image url",
          "video_url": "video url",
          "hashtag": "hashtag",
          "like": "like",
          "created_at": "date of QNA post created",
          "updated_at": "date of QNA post updated"
       }]
             }
}
```

{% endtab %}

{% tab title="404 Could not find a QNA Question list." %}

```
{    "message": "Could not find a QNA Question list."}
```

{% endtab %}
{% endtabs %}
